aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-04-28 10:08:20 +0200
committerShauren <shauren.trinity@gmail.com>2017-04-28 10:08:20 +0200
commitafd5f0d03e72f87e3b2b872ebb90b67bc4749086 (patch)
treed22c68c74cdc63f709dae140a44a69d82ff16b58 /src
parent3b6d04badbdc8f19a9d88f2474cbebdec072fd1c (diff)
Warning fix
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_item.cpp2
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)