aboutsummaryrefslogtreecommitdiff
path: root/src/game/PassiveAI.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-19 09:26:37 +0200
committerSpp <none@none>2010-04-19 09:26:37 +0200
commit74dd02d024007c3a09219177fabfe9010b1bce63 (patch)
tree041286f1a0a20c9714199b03c60808d3b7291e48 /src/game/PassiveAI.cpp
parentfdd8d2f3cc7108043f6bad036b994770f904866f (diff)
Remove LOTS of compile warnings
--HG-- branch : trunk
Diffstat (limited to 'src/game/PassiveAI.cpp')
-rw-r--r--src/game/PassiveAI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/PassiveAI.cpp b/src/game/PassiveAI.cpp
index 274a6a72e51..c6c92f6df04 100644
--- a/src/game/PassiveAI.cpp
+++ b/src/game/PassiveAI.cpp
@@ -37,7 +37,7 @@ void PossessedAI::AttackStart(Unit *target)
me->Attack(target, true);
}
-void PossessedAI::UpdateAI(const uint32 diff)
+void PossessedAI::UpdateAI(const uint32 /*diff*/)
{
if (me->getVictim())
{
@@ -48,7 +48,7 @@ void PossessedAI::UpdateAI(const uint32 diff)
}
}
-void PossessedAI::JustDied(Unit *u)
+void PossessedAI::JustDied(Unit * /*u*/)
{
// We died while possessed, disable our loot
me->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
@@ -61,7 +61,7 @@ void PossessedAI::KilledUnit(Unit* victim)
victim->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
}
-void CritterAI::DamageTaken(Unit *done_by, uint32 &)
+void CritterAI::DamageTaken(Unit * /*done_by*/, uint32 &)
{
if (!me->hasUnitState(UNIT_STAT_FLEEING))
me->SetControlled(true, UNIT_STAT_FLEEING);