(svn r1838) Ship depots are on water, not roads

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 20 years ago
parent 9198522307
commit ad837c2069

@ -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;

Loading…
Cancel
Save