From bf5d1ee0c5591d945e4dfc4b09ac342e35abedea Mon Sep 17 00:00:00 2001 From: killerwife Date: Sun, 26 Oct 2025 19:42:01 +0100 Subject: [PATCH] feature(SmartAI/Movement) - Unify waypoint systems - fix compilation (#328) Co-authored-by: iThorgrim <125808072+iThorgrim@users.noreply.github.com> --- src/LuaEngine/methods/CreatureMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaEngine/methods/CreatureMethods.h b/src/LuaEngine/methods/CreatureMethods.h index e0341ef..f96ad37 100644 --- a/src/LuaEngine/methods/CreatureMethods.h +++ b/src/LuaEngine/methods/CreatureMethods.h @@ -1174,7 +1174,7 @@ namespace LuaCreature */ int MoveWaypoint(lua_State* /*L*/, Creature* creature) { - creature->GetMotionMaster()->MovePath(creature->GetWaypointPath(), true); + creature->GetMotionMaster()->MoveWaypoint(creature->GetWaypointPath(), true); return 0; }