aboutsummaryrefslogtreecommitdiff
path: root/src/game/Totem.cpp
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-01-20 21:10:18 +0100
committerthenecromancer <none@none>2010-01-20 21:10:18 +0100
commitfbe09a92f960e24b90711b55f0d2f3a864605d3d (patch)
tree0e6e42f3ab12ffa4c9059401e6651e5ed3482b11 /src/game/Totem.cpp
parent721c9262291833868b6c478410c23f732eca4d4b (diff)
Allow spells with effect mechanic to allow apply other effects when effect with mechanic would be fail due to effect/state immunity.
--HG-- branch : trunk
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 027d6da731a..0358cc0c990 100644
--- a/src/game/Totem.cpp
+++ b/src/game/Totem.cpp
@@ -145,7 +145,7 @@ void Totem::UnSummon()
AddObjectToRemoveList();
}
-bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index, bool checkMechanic) const
+bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index) const
{
// TODO: possibly all negative auras immune?
if(GetEntry() == 5925)
@@ -160,5 +160,5 @@ bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index, bo
default:
break;
}
- return Creature::IsImmunedToSpellEffect(spellInfo, index, checkMechanic);
+ return Creature::IsImmunedToSpellEffect(spellInfo, index);
}