mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-02-03 01:15:03 +01:00
Fix b4ac5e2231: don't compare clear density with ClearGround (#15217)
This commit is contained in:
@@ -2146,7 +2146,7 @@ static CommandCost TownCanBePlacedHere(TileIndex tile, bool check_surrounding)
|
||||
switch (GetTileType(t)) {
|
||||
case TileType::Clear:
|
||||
/* Don't allow rough tiles, as they are likely wetlands. */
|
||||
if (GetClearDensity(t) == CLEAR_ROUGH) continue;
|
||||
if (GetClearGround(t) == CLEAR_ROUGH) continue;
|
||||
break;
|
||||
|
||||
case TileType::Trees:
|
||||
|
||||
Reference in New Issue
Block a user