(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
authorbelugas
Sun, 07 Oct 2007 01:37:06 +0000
changeset 8185 aefd50706cdb
parent 8184 275479af50c8
child 8186 a5c489500f23
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
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;