diff options
-rw-r--r-- | clear_cmd.c | 2 | ||||
-rw-r--r-- | industry_cmd.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index 0093d8bca..9ebd9e8bd 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -682,7 +682,7 @@ static void TileLoop_Clear(TileIndex tile) if (GetIndustryIndexOfField(tile) == INVALID_INDUSTRY && GetFieldType(tile) >= 7) { /* This farmfield is no longer farmfield, so make it grass again */ - MakeClear(tile, CLEAR_GRASS, 0); + MakeClear(tile, CLEAR_GRASS, 2); } else { field_type = GetFieldType(tile); field_type = (field_type < 8) ? field_type + 1 : 0; diff --git a/industry_cmd.c b/industry_cmd.c index 07f1de47b..a1abefbea 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -147,6 +147,7 @@ void DestroyIndustry(Industry *i) if (i->type == IT_FARM || i->type == IT_FARM_2) { /* Remove the farmland and convert it to regular tiles over time. */ BEGIN_TILE_LOOP(tile_cur, 42, 42, i->xy - TileDiffXY(21, 21)) { + tile_cur = TILE_MASK(tile_cur); if (IsTileType(tile_cur, MP_CLEAR) && IsClearGround(tile_cur, CLEAR_FIELDS) && GetIndustryIndexOfField(tile_cur) == i->index) { SetIndustryIndexOfField(tile_cur, INVALID_INDUSTRY); |