diff options
author | belugas <belugas@openttd.org> | 2007-10-07 01:37:06 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-10-07 01:37:06 +0000 |
commit | c06a8c60ad4a5d42fb5896b920dfeccc92e5fa9a (patch) | |
tree | 0d434faef06e42043f3a476eef27dc619c155a0d | |
parent | 525d216adce878b5d8b5c4af5ec6d87e55cf006e (diff) | |
download | openttd-c06a8c60ad4a5d42fb5896b920dfeccc92e5fa9a.tar.xz |
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
-rw-r--r-- | src/industry_map.h | 2 |
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; |