From 1395524390d79196aafa303c773d182662b38189 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 16 Jan 2007 15:18:02 +0000 Subject: [PATCH] (svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it. --- src/water_cmd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 8cb56f699d..c7c90d0199 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)) {