diff options
-rw-r--r-- | order_gui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/order_gui.c b/order_gui.c index 46be40278..b0d88d03e 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; |