From c06a8c60ad4a5d42fb5896b920dfeccc92e5fa9a Mon Sep 17 00:00:00 2001 From: belugas Date: Sun, 7 Oct 2007 01:37:06 +0000 Subject: (svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz). --- src/industry_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/industry_map.h b/src/industry_map.h index 370f9b37d..3bfd45895 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -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; -- cgit v1.2.3-70-g09d2