From 64ee4a54f4730cdf777d75694ab48280f543ac88 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 18:12:44 +0000 Subject: More scoping fixes --- Stars45/CarrierAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/CarrierAI.cpp') diff --git a/Stars45/CarrierAI.cpp b/Stars45/CarrierAI.cpp index 8f584b9..ffd6ea0 100644 --- a/Stars45/CarrierAI.cpp +++ b/Stars45/CarrierAI.cpp @@ -348,7 +348,7 @@ CarrierAI::CreatePackage(int squadron, int size, int code, const char* target, c int npackage = 0; int slots[4]; - for (i = 0; i < 4; i++) + for (int i = 0; i < 4; i++) slots[i] = -1; for (int slot = 0; slot < hangar->SquadronSize(squadron); slot++) { -- cgit v1.1