summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-24 13:19:48 +0000
committertron <tron@openttd.org>2004-11-24 13:19:48 +0000
commitfca55e374145de586143a340aa46a72d4f0ea47a (patch)
tree6e8b137fdd6fb9f70b0ee8a7bceb369371a596aa /station_cmd.c
parent0ea87b6473a11eb4d6e27275a5aa649165e79a14 (diff)
downloadopenttd-fca55e374145de586143a340aa46a72d4f0ea47a.tar.xz
(svn r793) Merge INLINE -> inline replacement (revision 376)
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 9074324cf..04bb7d526 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2119,7 +2119,7 @@ static void ClickTile_Station(uint tile)
}
}
-static INLINE bool IsTrainStationTile(uint tile) {
+static inline bool IsTrainStationTile(uint tile) {
return IS_TILETYPE(tile, MP_STATION) && IS_BYTE_INSIDE(_map5[tile], 0, 8);
}
@@ -2233,7 +2233,7 @@ static void StationHandleBigTick(Station *st)
}
}
-static INLINE void byte_inc_sat(byte *p) { byte b = *p + 1; if (b != 0) *p = b; }
+static inline void byte_inc_sat(byte *p) { byte b = *p + 1; if (b != 0) *p = b; }
static byte _rating_boost[3] = { 0, 31, 63};