(svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either.

This commit is contained in:
rubidium 2008-07-22 23:45:55 +00:00
parent af21ac537e
commit 24bb768450

View File

@ -401,7 +401,6 @@ CommandCost CmdBuildBridge(TileIndex end_tile, uint32 flags, uint32 p1, uint32 p
switch (GetTileType(tile)) { switch (GetTileType(tile)) {
case MP_WATER: case MP_WATER:
if (!EnsureNoVehicleOnGround(tile)) return_cmd_error(STR_980E_SHIP_IN_THE_WAY);
if (!IsWater(tile) && !IsCoast(tile)) goto not_valid_below; if (!IsWater(tile) && !IsCoast(tile)) goto not_valid_below;
break; break;