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