aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellMgr.h')
-rw-r--r--src/game/SpellMgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h
index 7cd59aba455..2fe81a3e98b 100644
--- a/src/game/SpellMgr.h
+++ b/src/game/SpellMgr.h
@@ -341,7 +341,7 @@ int32 GetSpellMaxDuration(SpellEntry const *spellInfo);
inline bool IsSpellHaveEffect(SpellEntry const *spellInfo, SpellEffects effect)
{
for(int i= 0; i < 3; ++i)
- if(spellInfo->Effect[i]==effect)
+ if(SpellEffects(spellInfo->Effect[i])==effect)
return true;
return false;
}