*Mangos [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage. By DiSlord.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-04 16:45:32 -06:00
parent 2d319dd5b4
commit 13cfff2327
10 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -178,7 +178,7 @@ void Totem::SetTypeBySummonSpell(SpellEntry const * spellProto)
m_type = TOTEM_STATUE; //Jewelery statue
}
bool Totem::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
bool Totem::IsImmunedToSpell(SpellEntry const* spellInfo)
{
/* for (int i=0;i<3;i++)
{
@@ -191,5 +191,5 @@ bool Totem::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
continue;
}
}*/
return Creature::IsImmunedToSpell(spellInfo, useCharges);
return Creature::IsImmunedToSpell(spellInfo);
}