diff options
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 4 |
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}; |