mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-17 11:39:11 +00:00
(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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user