vehicle_gui.h
changeset 4796 7e40ab01097a
parent 4734 20770a208a04
child 4800 009e3c6cea8a
equal deleted inserted replaced
4795:665c3db36c6e 4796:7e40ab01097a
    66 		case VEH_Aircraft: DrawAircraftImage(v, x, y, selection);           break;
    66 		case VEH_Aircraft: DrawAircraftImage(v, x, y, selection);           break;
    67 		default: NOT_REACHED();
    67 		default: NOT_REACHED();
    68 	}
    68 	}
    69 }
    69 }
    70 
    70 
       
    71 static inline byte GetVehicleListHeight(byte type)
       
    72 {
       
    73 	return (type == VEH_Train || type == VEH_Road) ? 14 : 24;
       
    74 }
       
    75 
    71 #endif /* VEHICLE_GUI_H */
    76 #endif /* VEHICLE_GUI_H */