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
commit69bb22b919b30f5989d38ad046fe73c675857994 (patch)
tree0d434faef06e42043f3a476eef27dc619c155a0d /src/industry_map.h
parentb125aee7fdbe6f93fdd3897d4c91df0c7544d509 (diff)
downloadopenttd-69bb22b919b30f5989d38ad046fe73c675857994.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;