aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2021-06-03 15:59:42 +0200
committerccrs <ccrs@users.noreply.github.com>2021-06-03 15:59:42 +0200
commita57bbe039436d4c5e9fe34c850ea85cc50b104ab (patch)
tree8f81108b9fa3c73ddf4add88001030d27c0ae61b /src
parent303e01c834d5edd1336a005a0ecf58cc82cfee1b (diff)
Core/Movement: comment unused parameter
/home/runner/work/TrinityCore/TrinityCore/src/server/game/AI/CoreAI/PassiveAI.cpp:82:52: error: unused parameter ‘id’ [-Werror=unused-parameter] void CritterAI::MovementInform(uint32 type, uint32 id) ~~~~~~~^~ compilation terminated due to -Wfatal-errors.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/CoreAI/PassiveAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CoreAI/PassiveAI.cpp b/src/server/game/AI/CoreAI/PassiveAI.cpp
index 8deb2801f75..c11bdc4ed21 100644
--- a/src/server/game/AI/CoreAI/PassiveAI.cpp
+++ b/src/server/game/AI/CoreAI/PassiveAI.cpp
@@ -79,7 +79,7 @@ void CritterAI::JustEngagedWith(Unit* /*who*/)
me->SetControlled(true, UNIT_STATE_FLEEING);
}
-void CritterAI::MovementInform(uint32 type, uint32 id)
+void CritterAI::MovementInform(uint32 type, uint32 /*id*/)
{
if (type == TIMED_FLEEING_MOTION_TYPE)
EnterEvadeMode(EVADE_REASON_OTHER);