From ffd64f7a8cab7945def16da8dfa3196a75f443dd Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 3 Sep 2003 17:10:52 +0000 Subject: [PATCH] Fix a reset bug for at least JSBSim by removing some apperently old UIUC code. This falls in the same category as the code from main.cxx which was recently removed by advice from the UIUC developers. --- src/Main/fg_init.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 13f0cc55e..605036cce 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -988,14 +988,6 @@ bool fgInitPosition() { fgSetDistOrAltFromGlideSlope(); } - // Select ground or air start depending on if an altitude is - // specified (this choice can be refined later based on other - // input.) - if ( fgGetDouble("/sim/presets/altitude-ft") > -9990.0 ) { - fgSetBool("/sim/presets/onground", false); - } else { - fgSetBool("/sim/presets/onground", true); - } // If we have an explicit, in-range lon/lat, don't change it, just use it. // If not, check for an airport-id and use that. -- 2.39.5