diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-19 17:00:54 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-19 17:00:54 +0000 |
commit | 0c6bdb0d2151befdab8ad9a989e2283b4f715df1 (patch) | |
tree | 3ebc439212ad8c6abadb0639fa28e1fda2bb38d8 /src/tunnelbridge_cmd.cpp | |
parent | 8b90809718d80ec0b24e05a2f20fde024cb03e1a (diff) | |
download | openttd-0c6bdb0d2151befdab8ad9a989e2283b4f715df1.tar.xz |
(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index fe06955e5..543e600e7 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -376,7 +376,7 @@ 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; + if (!IsWater(tile) && !IsCoast(tile) && !IsRiver(tile)) goto not_valid_below; break; case MP_RAILWAY: |