diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index 2dde39abba..fe5da3cda5 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; }