diff options
author | tron <tron@openttd.org> | 2005-02-07 10:37:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-07 10:37:12 +0000 |
commit | c45312326a0ae8b7c64a67539b927d994b56681b (patch) | |
tree | 62aa6f4ee1763a1b00c7e3f586968425a5f6064d | |
parent | 89482008d8e8de10406da419671f0b7f9010ed62 (diff) | |
download | openttd-c45312326a0ae8b7c64a67539b927d994b56681b.tar.xz |
(svn r1838) Ship depots are on water, not roads
-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; |