mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 10:29:10 +00:00
Change: Don't leave ship depot with no orders.
This commit is contained in:
@@ -330,6 +330,9 @@ static bool CheckShipLeaveDepot(Ship *v)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Don't leave depot if no destination set */
|
||||
if (v->dest_tile == 0) return true;
|
||||
|
||||
TileIndex tile = v->tile;
|
||||
Axis axis = GetShipDepotAxis(tile);
|
||||
|
||||
|
Reference in New Issue
Block a user