File diff r27883:ddbd33508a8a → r27884:803962be0328
src/build_vehicle_gui.cpp
Show inline comments
 
@@ -967,7 +967,7 @@ int DrawVehiclePurchaseInfo(int left, in
 
	if (e->type != VEH_TRAIN || e->u.rail.railveh_type != RAILVEH_WAGON) {
 
		/* Design date - Life length */
 
		SetDParam(0, ymd.year);
 
		SetDParam(1, DateToYear(e->GetLifeLengthInDays()));
 
		SetDParam(1, TimerGameCalendar::DateToYear(e->GetLifeLengthInDays()));
 
		DrawString(left, right, y, STR_PURCHASE_INFO_DESIGNED_LIFE);
 
		y += FONT_HEIGHT_NORMAL;