src/vehicle_gui.h
changeset 6223 92d2073c3d7e
parent 6060 8388a1bcb7c8
child 6258 a2f86b8fd99b
child 6573 7624f942237f
child 9895 7bd07f43b0e3
equal deleted inserted replaced
6222:50e47f803549 6223:92d2073c3d7e
    62 		case VEH_Aircraft: DrawAircraftImage(v, x, y, selection);           break;
    62 		case VEH_Aircraft: DrawAircraftImage(v, x, y, selection);           break;
    63 		default: NOT_REACHED();
    63 		default: NOT_REACHED();
    64 	}
    64 	}
    65 }
    65 }
    66 
    66 
    67 static inline byte GetVehicleListHeight(byte type)
    67 static inline uint GetVehicleListHeight(byte type)
    68 {
    68 {
    69 	return (type == VEH_Train || type == VEH_Road) ? 14 : 24;
    69 	return (type == VEH_Train || type == VEH_Road) ? 14 : 24;
    70 }
    70 }
    71 
    71 
    72 #endif /* VEHICLE_GUI_H */
    72 #endif /* VEHICLE_GUI_H */