summaryrefslogtreecommitdiffhomepage
path: root/Stars45/LandingGear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/LandingGear.cpp')
-rw-r--r--Stars45/LandingGear.cpp3
1 files changed, 2 insertions, 1 deletions
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];