# include "config.h"
#endif
+#include <cstdlib>
+
#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/misc/sg_path.hxx>
minGearZ = pos[2];
}
_set_Altitude(runway_altitude - minGearZ*M2FT);
+ // ground start-up: gear down
fgSetBool("/controls/gear/gear-down", true);
}
+ else
+ {
+ // airborne start-up: gear up
+ fgSetBool("/controls/gear/gear-down", false);
+ }
// Blank the state, and copy in ours
State s;