File diff r27165:ea28ecab6159 → r27166:64e04a3ef9b1
src/vehicle_gui.cpp
Show inline comments
 
@@ -404,13 +404,13 @@ void DepotSortList(VehicleList *list)
 
{
 
	if (list->size() < 2) return;
 
	std::sort(list->begin(), list->end(), &VehicleNumberSorter);
 
}
 

	
 
/** draw the vehicle profit button in the vehicle list window. */
 
static void DrawVehicleProfitButton(Date age, Money display_profit_last_year, uint num_vehicles, int x, int y)
 
static void DrawVehicleProfitButton(TimerGameCalendar::Date age, Money display_profit_last_year, uint num_vehicles, int x, int y)
 
{
 
	SpriteID spr;
 

	
 
	/* draw profit-based coloured icons */
 
	if (age <= VEHICLE_PROFIT_MIN_AGE) {
 
		spr = SPR_PROFIT_NA;