summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Hangar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Hangar.cpp')
-rw-r--r--Stars45/Hangar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Hangar.cpp b/Stars45/Hangar.cpp
index f1e8019..843105c 100644
--- a/Stars45/Hangar.cpp
+++ b/Stars45/Hangar.cpp
@@ -312,7 +312,7 @@ Hangar::CreateSquadron(Text squadron, CombatGroup* group,
nslots[nsquadrons] = count;
names[nsquadrons] = squadron;
- i = count-1;
+ int i = count-1;
while (dead_count-- > 0)
s[i--].state = UNAVAIL;