mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it.
This commit is contained in:
parent
9b73684733
commit
1395524390
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user