From c35416fa36c09f75a31ed11dbfbb95eb2952d838 Mon Sep 17 00:00:00 2001 From: killerwife Date: Tue, 14 Oct 2025 22:01:02 +0200 Subject: [PATCH] Fix compilation due to rework Walk/Run mode (#325) --- src/LuaEngine/methods/UnitMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaEngine/methods/UnitMethods.h b/src/LuaEngine/methods/UnitMethods.h index 9db85cd..b8ccf83 100644 --- a/src/LuaEngine/methods/UnitMethods.h +++ b/src/LuaEngine/methods/UnitMethods.h @@ -2154,7 +2154,7 @@ namespace LuaUnit float y = Eluna::CHECKVAL(L, 4); float z = Eluna::CHECKVAL(L, 5); bool genPath = Eluna::CHECKVAL(L, 6, true); - unit->GetMotionMaster()->MovePoint(id, x, y, z, genPath); + unit->GetMotionMaster()->MovePoint(id, x, y, z, FORCED_MOVEMENT_NONE, 0.f, 0.f, genPath); return 0; }