mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 06:46:43 +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 */
|
/* Ensure sea-level canals do not flood */
|
||||||
if ((IsTileType(tile, MP_WATER) || IsTileType(tile, MP_TUNNELBRIDGE)) &&
|
if (IsTileType(tile, MP_WATER) && !IsTileOwner(tile, OWNER_WATER)) return;
|
||||||
!IsTileOwner(tile, OWNER_WATER)) return;
|
|
||||||
|
|
||||||
if (IS_INT_INSIDE(TileX(tile), 1, MapSizeX() - 3 + 1) &&
|
if (IS_INT_INSIDE(TileX(tile), 1, MapSizeX() - 3 + 1) &&
|
||||||
IS_INT_INSIDE(TileY(tile), 1, MapSizeY() - 3 + 1)) {
|
IS_INT_INSIDE(TileY(tile), 1, MapSizeY() - 3 + 1)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user