mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-12-01 21:12:50 +08:00
Fix movement stuck
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user