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 | 70e195126bd1ef0fa0f5c018865498babdf79dd6 (patch) | |
tree | 2c20a48ef15a2528148bf173730fdbf79940b8ed | |
parent | 85accd400b2bc6c2e14ce73fb4bfafcc1966db30 (diff) | |
download | openttd-70e195126bd1ef0fa0f5c018865498babdf79dd6.tar.xz |
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
-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); } /** |