summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
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;