mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 02:19:41 +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:
parent
8210772138
commit
94f1f75825
@ -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…
Reference in New Issue
Block a user