mirror of https://github.com/OpenTTD/OpenTTD
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
parent
e1451e1124
commit
e434323d38
|
@ -218,7 +218,8 @@ static inline void SetIndustryConstructionCounter(TileIndex tile, byte value)
|
||||||
static inline void ResetIndustryConstructionStage(TileIndex tile)
|
static inline void ResetIndustryConstructionStage(TileIndex tile)
|
||||||
{
|
{
|
||||||
assert(IsTileType(tile, MP_INDUSTRY));
|
assert(IsTileType(tile, MP_INDUSTRY));
|
||||||
_m[tile].m1 = 0;
|
SB(_m[tile].m1, 0, 2, 0);
|
||||||
|
SB(_m[tile].m1, 7, 1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue