(svn r6032) -Fix: when a farm is gone, remove the fields when it is full grown and should be harvest (not before that)

This commit is contained in:
truelight 2006-08-21 09:22:44 +00:00
parent 8210772138
commit 94f1f75825
1 changed files with 1 additions and 1 deletions

View File

@ -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 {