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/LandingGear.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Stars45/LandingGear.cpp') diff --git a/Stars45/LandingGear.cpp b/Stars45/LandingGear.cpp index 61135ed..2f04575 100644 --- a/Stars45/LandingGear.cpp +++ b/Stars45/LandingGear.cpp @@ -48,8 +48,9 @@ LandingGear::LandingGear(const LandingGear& g) { Mount(g); SetAbbreviation(g.Abbreviation()); + int i; - for (int i = 0; i < ngear; i++) { + for (i = 0; i < ngear; i++) { models[i] = 0; gear[i] = new(__FILE__,__LINE__) Solid; start[i] = g.start[i]; -- cgit v1.1