From 9dfe48747f17f73e17831ed9fc246a1379d0932b Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 24 Mar 2009 09:13:51 -0600 Subject: [7522] Fixed typo in spell cast check code. Author: Triply --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 3028e48deac..0068e31010b 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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) { -- cgit v1.2.3