summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CarrierAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/CarrierAI.cpp')
-rw-r--r--Stars45/CarrierAI.cpp2
1 files changed, 1 insertions, 1 deletions
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++) {