aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2021-06-03 15:59:42 +0200
committerShauren <shauren.trinity@gmail.com>2022-03-10 23:54:11 +0100
commit791864ef5729b6c93140bd397605e1d801c60006 (patch)
treecf5b896163ac2ec09dce5bbe102bc7ee532e6a23 /src
parent0e0deaefd4e84c8069f6249778774f605fc5e628 (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. (cherry picked from commit a57bbe039436d4c5e9fe34c850ea85cc50b104ab)
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 91874687bd7..63a6f9932a1 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);