From ad837c2069d37ad36dfba07f62bd35a6694dd266 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 7 Feb 2005 10:37:12 +0000 Subject: [PATCH] (svn r1838) Ship depots are on water, not roads --- order_gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/order_gui.c b/order_gui.c index 46be402783..b0d88d03e1 100644 --- a/order_gui.c +++ b/order_gui.c @@ -194,7 +194,8 @@ static Order GetOrderCmdFromTile(Vehicle *v, uint tile) case MP_WATER: if (v->type != VEH_Ship) break; - if ( IsTileDepotType(tile, TRANSPORT_ROAD) && IsTileOwner(tile, _local_player)) { + if (IsTileDepotType(tile, TRANSPORT_WATER) && + IsTileOwner(tile, _local_player)) { switch (_map5[tile]) { case 0x81: tile--; break; case 0x83: tile-= TILE_XY(0,1); break;