[7522] Fixed typo in spell cast check code. Author: Triply

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-24 09:13:51 -06:00
parent d1169aa48b
commit 9dfe48747f

View File

@@ -4505,7 +4505,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)
{