File diff r20187:7dc8afa9992d → r20188:c7660e0c9b5b
src/roadveh_gui.cpp
Show inline comments
 
@@ -81,9 +81,9 @@ void DrawRoadVehDetails(const Vehicle *v
 
			if (u->cargo_cap == 0) continue;
 

	
 
			str = STR_VEHICLE_DETAILS_CARGO_EMPTY;
 
			if (!u->cargo.Empty()) {
 
			if (u->cargo.StoredCount() > 0) {
 
				SetDParam(0, u->cargo_type);
 
				SetDParam(1, u->cargo.Count());
 
				SetDParam(1, u->cargo.StoredCount());
 
				SetDParam(2, u->cargo.Source());
 
				str = STR_VEHICLE_DETAILS_CARGO_FROM;
 
				feeder_share += u->cargo.FeederShare();
 
@@ -101,9 +101,9 @@ void DrawRoadVehDetails(const Vehicle *v
 
		DrawString(left, right, y + FONT_HEIGHT_NORMAL + y_offset, STR_VEHICLE_INFO_CAPACITY);
 

	
 
		str = STR_VEHICLE_DETAILS_CARGO_EMPTY;
 
		if (!v->cargo.Empty()) {
 
		if (v->cargo.StoredCount() > 0) {
 
			SetDParam(0, v->cargo_type);
 
			SetDParam(1, v->cargo.Count());
 
			SetDParam(1, v->cargo.StoredCount());
 
			SetDParam(2, v->cargo.Source());
 
			str = STR_VEHICLE_DETAILS_CARGO_FROM;
 
			feeder_share += v->cargo.FeederShare();