diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h --- a/src/vehicle_gui.h +++ b/src/vehicle_gui.h @@ -70,7 +70,7 @@ void ShowVehicleListWindow(CompanyID com * @param type the vehicle type to look at * @return the height */ -static inline uint GetVehicleHeight(VehicleType type) +inline uint GetVehicleHeight(VehicleType type) { return (type == VEH_TRAIN || type == VEH_ROAD) ? 14 : 24; } @@ -93,7 +93,7 @@ VehicleCellSize GetVehicleImageCellSize( * @return corresponding window class * @note works only for company buildable vehicle types */ -static inline WindowClass GetWindowClassForVehicleType(VehicleType vt) +inline WindowClass GetWindowClassForVehicleType(VehicleType vt) { switch (vt) { default: NOT_REACHED();