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

@@ -99,6 +99,7 @@ static void PlantTreesOnTile(TileIndex tile, TreeType treetype, uint count, uint
switch (GetTileType(tile)) {
case MP_WATER:
ground = TREE_GROUND_SHORE;
ClearNeighbourNonFloodingStates(tile);
break;
case MP_CLEAR: