Change: Don't leave ship depot with no orders.

pull/78/head
Peter Nelson 6 years ago committed by Charles Pigott
parent 29b6b74ee1
commit 6a38a3f5df

@ -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);

Loading…
Cancel
Save