From 13cfff2327247c20ec4c0bcc51fa8cfb2594daff Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 4 Jan 2009 16:45:32 -0600 Subject: *Mangos [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage. By DiSlord. --HG-- branch : trunk --- src/game/Totem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Totem.cpp') diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp index 2ac26f823d6..335c8e6df13 100644 --- a/src/game/Totem.cpp +++ b/src/game/Totem.cpp @@ -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); } -- cgit v1.2.3