diff src/misc.cpp @ 6350:8132258640be draft

(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
author peter1138 <peter1138@openttd.org>
date Wed, 21 Mar 2007 13:19:01 +0000
parents 60486b0b3e39
children 666fc3ef3174
line wrap: on
line diff
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -243,7 +243,7 @@
 {
 	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;
 	}