equal
deleted
inserted
replaced
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 |