Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states

This commit is contained in:
Jonathan G Rennison
2021-04-13 00:00:11 +01:00
parent 0422e2fe1e
commit 1a29a1ee74
5 changed files with 5 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ static void MarkCanalsAndRiversAroundDirty(TileIndex tile)
}
}
static void ClearNeighbourNonFloodingStates(TileIndex tile)
void ClearNeighbourNonFloodingStates(TileIndex tile)
{
for (Direction dir = DIR_BEGIN; dir < DIR_END; dir++) {
TileIndex dest = tile + TileOffsByDir(dir);