src/industry_map.h
changeset 9838 976f08497fa7
parent 9718 4b7468076d31
child 9839 f1ba805bd78b
equal deleted inserted replaced
9837:8d4c9e463e5e 9838:976f08497fa7
   216  * @pre IsTileType(tile, MP_INDUSTRY)
   216  * @pre IsTileType(tile, MP_INDUSTRY)
   217  */
   217  */
   218 static inline void ResetIndustryConstructionStage(TileIndex tile)
   218 static inline void ResetIndustryConstructionStage(TileIndex tile)
   219 {
   219 {
   220 	assert(IsTileType(tile, MP_INDUSTRY));
   220 	assert(IsTileType(tile, MP_INDUSTRY));
   221 	_m[tile].m1 = 0;
   221 	SB(_m[tile].m1, 0, 2, 0);
       
   222 	SB(_m[tile].m1, 7, 1, 0);
   222 }
   223 }
   223 
   224 
   224 /**
   225 /**
   225  * Get the animation loop number
   226  * Get the animation loop number
   226  * @param tile the tile to get the animation loop number of
   227  * @param tile the tile to get the animation loop number of