aboutsummaryrefslogtreecommitdiff
path: root/src/game/Totem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Totem.cpp')
-rw-r--r--src/game/Totem.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}