*Allow to use ice block while affected by CC and fix compile warning.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-04-09 18:49:48 +02:00
1 parent 2b9d09255e
commit ba4e54f2f7
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -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;