diff options
-rw-r--r-- | src/game/SpellMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index 2dde39abba9..fe5da3cda55 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -196,7 +196,7 @@ inline bool IsSpellHaveEffect(SpellEntry const *spellInfo, SpellEffects effect) inline bool IsSpellHaveAura(SpellEntry const *spellInfo, AuraType aura) { for(int i= 0; i < 3; ++i) - if(SpellEffects(spellInfo->EffectApplyAuraName[i])==aura) + if(AuraType(spellInfo->EffectApplyAuraName[i])==aura) return true; return false; } |