aboutsummaryrefslogtreecommitdiff
path: root/src/game/PassiveAI.cpp
diff options
context:
space:
mode:
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);