[7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-04 23:15:24 +03:00
parent a865eb6010
commit 4b9af01d42
10 changed files with 19 additions and 19 deletions

View file

@ -1536,7 +1536,7 @@ void Creature::Respawn()
}
}
bool Creature::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
bool Creature::IsImmunedToSpell(SpellEntry const* spellInfo)
{
if (!spellInfo)
return false;
@ -1544,7 +1544,7 @@ bool Creature::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
if (GetCreatureInfo()->MechanicImmuneMask & (1 << (spellInfo->Mechanic - 1)))
return true;
return Unit::IsImmunedToSpell(spellInfo, useCharges);
return Unit::IsImmunedToSpell(spellInfo);
}
bool Creature::IsImmunedToSpellEffect(uint32 effect, uint32 mechanic) const