(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.

This commit is contained in:
frosch
2009-06-27 18:26:50 +00:00
parent 415c575fe5
commit 4c3f480f92
14 changed files with 74 additions and 74 deletions

View File

@@ -182,8 +182,8 @@ static void TrainDetailsCapacityTab(const Vehicle *v, int left, int right, int y
*/
int GetTrainDetailsWndVScroll(VehicleID veh_id, TrainDetailsWindowTabs det_tab)
{
AcceptedCargo act_cargo;
AcceptedCargo max_cargo;
CargoArray act_cargo;
CargoArray max_cargo;
int num = 0;
if (det_tab == TDW_TAB_TOTALS) { // Total cargo tab
@@ -272,8 +272,8 @@ void DrawTrainDetails(const Vehicle *v, int left, int right, int y, int vscroll_
if (v == NULL) return;
}
} else {
AcceptedCargo act_cargo;
AcceptedCargo max_cargo;
CargoArray act_cargo;
CargoArray max_cargo;
Money feeder_share = 0;
memset(max_cargo, 0, sizeof(max_cargo));