Fix DC_FORCE_CLEAR_TILE water removal not removing docking tiles

See: https://github.com/OpenTTD/OpenTTD/issues/9869
This commit is contained in:
Jonathan G Rennison
2022-04-25 17:35:19 +01:00
parent e3837e790d
commit ef379b5214
3 changed files with 12 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ static const uint RIVER_OFFSET_DESERT_DISTANCE = 5; ///< Circular tile search ra
bool IsWateredTile(TileIndex tile, Direction from);
void ForceClearWaterTile(TileIndex tile);
/**
* Calculates the maintenance cost of a number of canal tiles.
* @param num Number of canal tiles.