From 93fe91cc8c1f38678dfb7cef6ede77c56ab36c1b Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 21 Mar 2007 13:19:01 +0000 Subject: (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. --- src/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc.cpp') 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; } -- cgit v1.2.3-54-g00ecf