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 | 93fe91cc8c1f38678dfb7cef6ede77c56ab36c1b (patch) | |
tree | e15177888ccaf427ebf30cc793b6da2908c47a8f /src/misc.cpp | |
parent | 7e00fdac9070368b0838685c5f8e422dc92f25ca (diff) | |
download | openttd-93fe91cc8c1f38678dfb7cef6ede77c56ab36c1b.tar.xz |
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r-- | src/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index fdd35ad56..62a824714 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -243,7 +243,7 @@ void InitializeLandscapeVariables(bool only_constants) { if (only_constants) return; - for (CargoID i = 0; i != NUM_CARGO; i++) { + for (CargoID i = 0; i < NUM_CARGO; i++) { _cargo_payment_rates[i] = GetCargo(i)->initial_payment; _cargo_payment_rates_frac[i] = 0; } |