mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
This commit is contained in:
parent
525d216adc
commit
c06a8c60ad
@ -274,7 +274,7 @@ static inline byte GetIndustryRandomBits(TileIndex tile)
|
||||
* @param bits the random bits
|
||||
* @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));
|
||||
_me[tile].m7 = bits;
|
||||
|
Loading…
Reference in New Issue
Block a user