1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +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:
belugas
2007-10-07 01:37:06 +00:00
parent 525d216adc
commit c06a8c60ad

View File

@@ -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;