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/Hangar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Hangar.cpp') 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; -- cgit v1.1