1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-27 06:04:25 +01:00

Fix 595b696d61: Tile suitability test for farm field no longer handled snow tiles. (#15134)

This commit is contained in:
Peter Nelson
2026-01-19 19:59:57 +00:00
committed by GitHub
parent 16dc1fc8bd
commit 2bb6d3350f

View File

@@ -1002,8 +1002,8 @@ static bool IsSuitableForFarmField(TileIndex tile, bool allow_fields, bool allow
{
switch (GetTileType(tile)) {
case MP_CLEAR:
if (IsSnowTile(tile)) return false;
switch (GetClearGround(tile)) {
case CLEAR_SNOW: return false;
case CLEAR_DESERT: return false;
case CLEAR_ROUGH: return allow_rough;
case CLEAR_FIELDS: return allow_fields;