diff options
author | Zedron <world_of_warcraft@ymail.com> | 2016-01-24 17:09:02 -0600 |
---|---|---|
committer | Zedron <world_of_warcraft@ymail.com> | 2016-01-24 17:09:02 -0600 |
commit | 4b4237174fa7cfefadad38dbe236213c33390225 (patch) | |
tree | 948cad5c0407ae8320a11e597f8627986f1aed9a /src | |
parent | 11ad71e2fc322c8e109ffe8cd8c52332a26048bf (diff) |
Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_paladin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 5e8b5ab8885..5887aded51c 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -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; |