diff -r 665c3db36c6e -r 7e40ab01097a vehicle_gui.h --- a/vehicle_gui.h Tue Oct 10 09:40:12 2006 +0000 +++ b/vehicle_gui.h Tue Oct 10 10:04:09 2006 +0000 @@ -68,4 +68,9 @@ } } +static inline byte GetVehicleListHeight(byte type) +{ + return (type == VEH_Train || type == VEH_Road) ? 14 : 24; +} + #endif /* VEHICLE_GUI_H */