(svn r1592) -Fix: [1090495] Slopes under high bridges weren't flooded

This commit is contained in:
tron
2005-01-22 19:05:30 +00:00
parent 6fb79d5f33
commit 54e78e114c
2 changed files with 16 additions and 3 deletions

View File

@@ -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;
}