Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon

This commit is contained in:
Zedron
2016-01-24 17:09:02 -06:00
parent 11ad71e2fc
commit 4b4237174f

View File

@@ -912,6 +912,8 @@ class spell_pal_light_s_beacon : public SpellScriptLoader
bool CheckProc(ProcEventInfo& eventInfo)
{
if (!eventInfo.GetActionTarget())
return false;
if (eventInfo.GetActionTarget()->HasAura(SPELL_PALADIN_BEACON_OF_LIGHT, eventInfo.GetActor()->GetGUID()))
return false;
return true;