forked from mirror/OpenTTD
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
This commit is contained in:
@@ -274,7 +274,7 @@ static inline byte GetIndustryRandomBits(TileIndex tile)
|
|||||||
* @param bits the random bits
|
* @param bits the random bits
|
||||||
* @pre IsTileType(tile, MP_INDUSTRY)
|
* @pre IsTileType(tile, MP_INDUSTRY)
|
||||||
*/
|
*/
|
||||||
static inline byte GetIndustryRandomBits(TileIndex tile, byte bits)
|
static inline void SetIndustryRandomBits(TileIndex tile, byte bits)
|
||||||
{
|
{
|
||||||
assert(IsTileType(tile, MP_INDUSTRY));
|
assert(IsTileType(tile, MP_INDUSTRY));
|
||||||
_me[tile].m7 = bits;
|
_me[tile].m7 = bits;
|
||||||
|
Reference in New Issue
Block a user