summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-22 23:45:55 +0000
committerrubidium <rubidium@openttd.org>2008-07-22 23:45:55 +0000
commit24bb768450a8e7a242dd905270c2f3f60b252906 (patch)
tree95bb19583a9a7f898bd7576ecbeadf010bade326
parentaf21ac537ebb61a3bbdc308c0348c506f7e03161 (diff)
downloadopenttd-24bb768450a8e7a242dd905270c2f3f60b252906.tar.xz
(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.
-rw-r--r--src/tunnelbridge_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 476d6e02b..84c732920 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -401,7 +401,6 @@ CommandCost CmdBuildBridge(TileIndex end_tile, uint32 flags, uint32 p1, uint32 p
switch (GetTileType(tile)) {
case MP_WATER:
- if (!EnsureNoVehicleOnGround(tile)) return_cmd_error(STR_980E_SHIP_IN_THE_WAY);
if (!IsWater(tile) && !IsCoast(tile)) goto not_valid_below;
break;