diff options
author | megamage <none@none> | 2009-03-24 09:13:51 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-24 09:13:51 -0600 |
commit | 9dfe48747f17f73e17831ed9fc246a1379d0932b (patch) | |
tree | 39625479d09691da0f2f328ef3ccbd5c603d8704 | |
parent | d1169aa48bcb43e199438e52e9569ce5f6a0c39b (diff) |
[7522] Fixed typo in spell cast check code. Author: Triply
--HG--
branch : trunk
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |