diff options
author | tron <tron@openttd.org> | 2005-01-22 19:05:30 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 19:05:30 +0000 |
commit | 54e78e114c7aa7d99d48ba29a0b5b622f3ba843c (patch) | |
tree | 06e0663f0ae497159835f2464884cf4761b6d94f /water_cmd.c | |
parent | 6fb79d5f33c0cb6210f4a91f7ec59a1d376ee7d7 (diff) | |
download | openttd-54e78e114c7aa7d99d48ba29a0b5b622f3ba843c.tar.xz |
(svn r1592) -Fix: [1090495] Slopes under high bridges weren't flooded
Diffstat (limited to 'water_cmd.c')
-rw-r--r-- | water_cmd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/water_cmd.c b/water_cmd.c index 289767c0d..15d48d81a 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -527,6 +527,14 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs) } break; + case MP_TUNNELBRIDGE: + // Middle part of bridge with clear land below? + if ((_map5[target] & 0xF8) == 0xC0) { + _map5[target] |= 0x08; + MarkTileDirtyByTile(tile); + } + break; + default: break; } |