[7522] Fixed typo in spell cast check code.

This commit is contained in:
Triply 2009-03-23 11:20:24 +03:00 committed by VladimirMangos
parent f4030f9dff
commit 3d6c7e59a7
2 changed files with 2 additions and 2 deletions

View file

@ -4631,7 +4631,7 @@ SpellCastResult Spell::CheckCasterAuras() const
prevented_reason = SPELL_FAILED_PACIFIED;
// Attr must make flag drop spell totally immune from all effects
if(prevented_reason)
if(prevented_reason != SPELL_CAST_OK)
{
if(school_immune || mechanic_immune || dispel_immune)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7521"
#define REVISION_NR "7522"
#endif // __REVISION_NR_H__