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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user