changeset 9838:96228d54928c draft

(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
author peter1138 <peter1138@openttd.org>
date Sun, 03 Aug 2008 18:51:13 +0000
parents 851940f559bc
children 6d9cff756b2f
files src/industry_map.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/industry_map.h
+++ b/src/industry_map.h
@@ -218,7 +218,8 @@
 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);
 }
 
 /**