(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.

This commit is contained in:
frosch
2009-10-06 19:52:38 +00:00
parent 1e2dc25582
commit 9a9d0ee7c0
9 changed files with 48 additions and 47 deletions

View File

@@ -75,7 +75,7 @@
switch (e->type) {
case VEH_ROAD:
case VEH_TRAIN: {
CargoArray capacities = GetCapacityOfArticulatedParts(engine_id, e->type);
CargoArray capacities = GetCapacityOfArticulatedParts(engine_id);
for (CargoID c = 0; c < NUM_CARGO; c++) {
if (capacities[c] == 0) continue;
return capacities[c];