(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
authorpeter1138
Sun, 03 Aug 2008 18:51:13 +0000
changeset 9838 976f08497fa7
parent 9837 8d4c9e463e5e
child 9839 f1ba805bd78b
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
src/industry_map.h
--- a/src/industry_map.h	Sun Aug 03 18:18:36 2008 +0000
+++ b/src/industry_map.h	Sun Aug 03 18:51:13 2008 +0000
@@ -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);
 }
 
 /**