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

pull/155/head
truelight 18 years ago
parent 1c989670a8
commit 95b4248f25

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

Loading…
Cancel
Save