Changeset - r23154:e57cef82d7ee
[Not reviewed]
master
0 1 0
Peter Nelson - 6 years ago 2018-05-18 08:04:39
peter1138@openttd.org
Change: Don't leave ship depot with no orders.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/ship_cmd.cpp
Show inline comments
 
@@ -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);
 

	
0 comments (0 inline, 0 general)