aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-09 18:49:48 +0200
committerQAston <none@none>2009-04-09 18:49:48 +0200
commitba4e54f2f7d411eb60c8927e358d2835019a657a (patch)
tree470d1233b882ff79e657b9dc6d7ffab627543d16 /src/game/Spell.cpp
parent2b9d09255ea80ae1fbf345368d24128318ed3a0f (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.cpp2
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;