Fix four horsemen

This commit is contained in:
Yunfan Li
2024-02-08 22:45:17 +08:00
parent 6e5c86b84d
commit 4b72226ab4
4 changed files with 8 additions and 4 deletions

View File

@@ -170,7 +170,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
if (modifiedZ == INVALID_HEIGHT) {
return false;
}
// mm.Clear();
mm.Clear();
mm.MovePoint(mapId, x, y, modifiedZ, generatePath);
AI_VALUE(LastMovement&, "last movement").Set(mapId, x, y, z, bot->GetOrientation());
return true;