diff options
author | truelight <truelight@openttd.org> | 2006-08-21 09:22:44 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-21 09:22:44 +0000 |
commit | 94f1f758258e00d15550c8944009c8a4ed9226ec (patch) | |
tree | 5249d94097590a114b42b619f38946cb8d25fcab | |
parent | 82107721387d65f8eb0ad06f05a15e255a42f109 (diff) | |
download | openttd-94f1f758258e00d15550c8944009c8a4ed9226ec.tar.xz |
(svn r6032) -Fix: when a farm is gone, remove the fields when it is full grown and should be harvest (not before that)
-rw-r--r-- | clear_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index df7763a7e..1698affbb 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 { |