mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 15:11:54 +00:00
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
This commit is contained in:
parent
71f443cbdc
commit
2493626f21
@ -1415,7 +1415,7 @@ void CreateVehicleDetailsWindow(Window *w)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Checks whether service interval is enabled for the vehicle. */
|
/** Checks whether service interval is enabled for the vehicle. */
|
||||||
static bool inline IsVehicleServiceIntervalEnabled(const VehicleType vehicle_type)
|
static inline bool IsVehicleServiceIntervalEnabled(const VehicleType vehicle_type)
|
||||||
{
|
{
|
||||||
switch (vehicle_type) {
|
switch (vehicle_type) {
|
||||||
default: NOT_REACHED();
|
default: NOT_REACHED();
|
||||||
|
Loading…
Reference in New Issue
Block a user