(svn r1838) Ship depots are on water, not roads
authortron
Mon, 07 Feb 2005 10:37:12 +0000
changeset 1334 e33a521c3e12
parent 1333 9ac74f431ed2
child 1335 a635854c23b6
(svn r1838) Ship depots are on water, not roads
order_gui.c
--- a/order_gui.c	Mon Feb 07 10:09:28 2005 +0000
+++ b/order_gui.c	Mon Feb 07 10:37:12 2005 +0000
@@ -194,7 +194,8 @@
 
 		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;