aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/CoreAI/UnitAI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CoreAI/UnitAI.h b/src/server/game/AI/CoreAI/UnitAI.h
index d254dad6b35..62caaac802a 100644
--- a/src/server/game/AI/CoreAI/UnitAI.h
+++ b/src/server/game/AI/CoreAI/UnitAI.h
@@ -277,7 +277,7 @@ class TC_GAME_API UnitAI
// Called when the unit enters combat
// (NOTE: Creature engage logic should NOT be here, but in JustEngagedWith, which happens once threat is established!)
- virtual void JustEnteredCombat(Unit* victim) { }
+ virtual void JustEnteredCombat(Unit* /*who*/) { }
// Called when the unit leaves combat
virtual void JustExitedCombat() { }