mirror of https://github.com/OpenTTD/OpenTTD
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
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