# HG changeset patch # User belugas # Date 1191721026 0 # Node ID aefd50706cdbf76c5fc9078dafbf4ae6b63df846 # Parent 275479af50c887f605b68b38abf1bdcd596c35e4 (svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz). diff -r 275479af50c8 -r aefd50706cdb src/industry_map.h --- a/src/industry_map.h Sat Oct 06 22:08:04 2007 +0000 +++ b/src/industry_map.h Sun Oct 07 01:37:06 2007 +0000 @@ -274,7 +274,7 @@ * @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;