summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--water_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/water_cmd.c b/water_cmd.c
index 53c12daf4..ed1ad1807 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -654,7 +654,8 @@ void TileLoop_Water(TileIndex tile)
};
/* Ensure sea-level canals do not flood */
- if (IsTileType(tile, MP_WATER) && !IsTileOwner(tile, OWNER_WATER)) return;
+ if ((IsTileType(tile, MP_WATER) || IsTileType(tile, MP_TUNNELBRIDGE)) &&
+ !IsTileOwner(tile, OWNER_WATER)) return;
if (IS_INT_INSIDE(TileX(tile), 1, MapSizeX() - 3 + 1) &&
IS_INT_INSIDE(TileY(tile), 1, MapSizeY() - 3 + 1)) {