diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-04-28 10:08:20 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-04-28 10:08:20 +0200 |
commit | afd5f0d03e72f87e3b2b872ebb90b67bc4749086 (patch) | |
tree | d22c68c74cdc63f709dae140a44a69d82ff16b58 /src | |
parent | 3b6d04badbdc8f19a9d88f2474cbebdec072fd1c (diff) |
Warning fix
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 7007345ecf6..ca3615a141e 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -1205,7 +1205,7 @@ class spell_item_crystal_spire_of_karabor : public SpellScriptLoader bool Validate(SpellInfo const* spellInfo) override { - return spellInfo->GetEffect(EFFECT_0); + return spellInfo->GetEffect(EFFECT_0) != nullptr; } bool CheckProc(ProcEventInfo& eventInfo) |