From 03f6dde549fa05edb5f7ac335ae40f6d16f06006 Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Wed, 24 Apr 2024 08:22:24 -0300 Subject: [PATCH] fix(Core/SmartAI) fatal error: unused parameter pathId (#18795) fix. fatal error: unused parameter pathId --- src/server/game/AI/SmartScripts/SmartAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index a904e5787..d126a9cfc 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -1153,7 +1153,7 @@ void SmartAI::OnSpellClick(Unit* clicker, bool& /*result*/) GetScript()->ProcessEventsFor(SMART_EVENT_ON_SPELLCLICK, clicker); } -void SmartAI::PathEndReached(uint32 pathId) +void SmartAI::PathEndReached(uint32 /*pathId*/) { GetScript()->ProcessEventsFor(SMART_EVENT_WAYPOINT_DATA_ENDED, nullptr, 0, me->GetWaypointPath()); }