summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-10-07 01:37:06 +0000
committerbelugas <belugas@openttd.org>2007-10-07 01:37:06 +0000
commitc06a8c60ad4a5d42fb5896b920dfeccc92e5fa9a (patch)
tree0d434faef06e42043f3a476eef27dc619c155a0d /src/industry_map.h
parent525d216adce878b5d8b5c4af5ec6d87e55cf006e (diff)
downloadopenttd-c06a8c60ad4a5d42fb5896b920dfeccc92e5fa9a.tar.xz
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
Diffstat (limited to 'src/industry_map.h')
-rw-r--r--src/industry_map.h2
1 files changed, 1 insertions, 1 deletions
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;