Merge pull request #16378 from Zedron/6.x

Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon
This commit is contained in:
Shauren
2016-01-27 21:54:47 +01:00

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;