diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index 0b3a61f1f..a97515f85 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -131,7 +131,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; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2ba2d4656..b7436b725 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8173" + #define REVISION_NR "8174" #endif // __REVISION_NR_H__