]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.cxx
Turn back to default lighting when specular-highlight gets disabled
[flightgear.git] / src / Main / fg_init.cxx
index 13f0cc55edec6723fecd35a96504d2f96596fe65..605036cce1b0699699d7bae0ad17a3416f30fe1e 100644 (file)
@@ -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.