Fix movement stuck

This commit is contained in:
Yunfan Li
2024-01-10 21:06:22 +08:00
parent 8b333a853b
commit 8bf944c024
3 changed files with 3 additions and 3 deletions

View File

@@ -1500,7 +1500,7 @@ bool MoveRandomAction::Execute(Event event)
if (map->IsInWater(bot->GetPhaseMask(), x, y, z, bot->GetCollisionHeight()))
continue;
bool moved = MoveTo(bot->GetMapId(), x, y, z, false, false, true);
bool moved = MoveTo(bot->GetMapId(), x, y, z);
if (moved)
return true;
}