mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
a865eb6010
commit
4b9af01d42
10 changed files with 19 additions and 19 deletions
|
|
@ -159,7 +159,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++)
|
||||
{
|
||||
|
|
@ -172,5 +172,5 @@ bool Totem::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
|
|||
continue;
|
||||
}
|
||||
}
|
||||
return Creature::IsImmunedToSpell(spellInfo, useCharges);
|
||||
return Creature::IsImmunedToSpell(spellInfo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue