diff options
author | peter1138 <peter1138@openttd.org> | 2007-01-16 15:18:02 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-01-16 15:18:02 +0000 |
commit | 1395524390d79196aafa303c773d182662b38189 (patch) | |
tree | 141ee7aa61d09735d06040cadc3a8817956d1cf9 | |
parent | 9b73684733ee36df16aa07ff24c3c067a09d7dbe (diff) | |
download | openttd-1395524390d79196aafa303c773d182662b38189.tar.xz |
(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it.
-rw-r--r-- | src/water_cmd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 8cb56f699..c7c90d019 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -636,8 +636,7 @@ void TileLoop_Water(TileIndex tile) }; /* Ensure sea-level canals do not flood */ - if ((IsTileType(tile, MP_WATER) || IsTileType(tile, MP_TUNNELBRIDGE)) && - !IsTileOwner(tile, OWNER_WATER)) return; + if (IsTileType(tile, MP_WATER) && !IsTileOwner(tile, OWNER_WATER)) return; if (IS_INT_INSIDE(TileX(tile), 1, MapSizeX() - 3 + 1) && IS_INT_INSIDE(TileY(tile), 1, MapSizeY() - 3 + 1)) { |