diff options
author | QAston <none@none> | 2009-04-09 18:49:48 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-09 18:49:48 +0200 |
commit | ba4e54f2f7d411eb60c8927e358d2835019a657a (patch) | |
tree | 470d1233b882ff79e657b9dc6d7ffab627543d16 /src/game/Spell.cpp | |
parent | 2b9d09255ea80ae1fbf345368d24128318ed3a0f (diff) |
*Allow to use ice block while affected by CC and fix compile warning.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-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 e6b7499f813..a2c6ae6dfee 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4580,7 +4580,7 @@ SpellCastResult Spell::CheckCasterAuras() const { if( GetAllSpellMechanicMask(itr->second->GetSpellProto()) & mechanic_immune ) continue; - if( GetAllSpellMechanicMask(itr->second->GetSpellProto()) & school_immune ) + if( GetSpellSchoolMask(itr->second->GetSpellProto()) & school_immune ) continue; if( (1<<(itr->second->GetSpellProto()->Dispel)) & dispel_immune) continue; |