(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it.

This commit is contained in:
peter1138 2007-01-16 15:18:02 +00:00
parent 9b73684733
commit 1395524390

View File

@ -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)) {