diff options
author | peter1138 <peter1138@openttd.org> | 2007-03-21 13:19:01 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-03-21 13:19:01 +0000 |
commit | d7f56f1550ad463c6584595675dbebf745c30a78 (patch) | |
tree | e15177888ccaf427ebf30cc793b6da2908c47a8f /src/economy.cpp | |
parent | a9651a8b8f1e9b1f6524721a43e58a2339fc8d61 (diff) | |
download | openttd-d7f56f1550ad463c6584595675dbebf745c30a78.tar.xz |
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 2856af8e6..12b5bb5ee 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -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, |