From 94f1f758258e00d15550c8944009c8a4ed9226ec Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 21 Aug 2006 09:22:44 +0000 Subject: [PATCH] (svn r6032) -Fix: when a farm is gone, remove the fields when it is full grown and should be harvest (not before that) --- clear_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clear_cmd.c b/clear_cmd.c index df7763a7e7..1698affbb1 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -680,7 +680,7 @@ static void TileLoop_Clear(TileIndex tile) SetClearCounter(tile, 0); } - if (GetIndustryIndexOfField(tile) == INVALID_INDUSTRY) { + if (GetIndustryIndexOfField(tile) == INVALID_INDUSTRY && GetFieldType(tile) >= 7) { /* This farmfield is no longer farmfield, so make it grass again */ MakeClear(tile, CLEAR_GRASS, 0); } else {