feature(SmartAI/Movement) - Unify waypoint systems - fix compilation (#328)

Co-authored-by: iThorgrim <125808072+iThorgrim@users.noreply.github.com>
This commit is contained in:
killerwife
2025-10-26 19:42:01 +01:00
committed by GitHub
parent 46527162d2
commit bf5d1ee0c5

View File

@@ -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;
}