mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix compilation due to rework Walk/Run mode (#325)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user