(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.

This commit is contained in:
peter1138
2007-03-21 13:19:01 +00:00
parent 7e00fdac90
commit 93fe91cc8c
13 changed files with 29 additions and 35 deletions

View File

@@ -652,7 +652,7 @@ static void AddInflation()
_economy.max_loan += 50000;
inf = _economy.infl_amount_pr * 54;
for (uint i = 0; i != NUM_CARGO; i++) {
for (CargoID i = 0; i < NUM_CARGO; i++) {
AddSingleInflation(
(int32*)_cargo_payment_rates + i,
_cargo_payment_rates_frac + i,