diff options
author | peter1138 <peter1138@openttd.org> | 2008-08-03 18:51:13 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-08-03 18:51:13 +0000 |
commit | e434323d3883096359f6fc204583d1f07e7f2129 (patch) | |
tree | 2c20a48ef15a2528148bf173730fdbf79940b8ed /src | |
parent | e1451e1124830f3fbbf883cc4de1338cfc866cb1 (diff) | |
download | openttd-e434323d3883096359f6fc204583d1f07e7f2129.tar.xz |
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
Diffstat (limited to 'src')
-rw-r--r-- | src/industry_map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/industry_map.h b/src/industry_map.h index 04be3513a..723b4c010 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -218,7 +218,8 @@ static inline void SetIndustryConstructionCounter(TileIndex tile, byte value) static inline void ResetIndustryConstructionStage(TileIndex tile) { assert(IsTileType(tile, MP_INDUSTRY)); - _m[tile].m1 = 0; + SB(_m[tile].m1, 0, 2, 0); + SB(_m[tile].m1, 7, 1, 0); } /** |