Fix compilation due to rework Walk/Run mode (#325)

This commit is contained in:
killerwife
2025-10-14 22:01:02 +02:00
committed by GitHub
parent 466f5b5156
commit c35416fa36

View File

@@ -2154,7 +2154,7 @@ namespace LuaUnit
float y = Eluna::CHECKVAL<float>(L, 4); float y = Eluna::CHECKVAL<float>(L, 4);
float z = Eluna::CHECKVAL<float>(L, 5); float z = Eluna::CHECKVAL<float>(L, 5);
bool genPath = Eluna::CHECKVAL<bool>(L, 6, true); bool genPath = Eluna::CHECKVAL<bool>(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; return 0;
} }