// model or control parameters are set
fgAircraftInit(); // In the future this might not be the case.
+
+ ////////////////////////////////////////////////////////////////////
+ // Initialize the weather subsystem.
+ ////////////////////////////////////////////////////////////////////
+
+ // Initialize the weather modeling subsystem
+ globals->add_subsystem("environment", new FGEnvironmentMgr);
+
+
////////////////////////////////////////////////////////////////////
// Initialize the aircraft systems and instrumentation (before the
// autopilot.)
fgInitTimeOffset(); // the environment subsystem needs this
- ////////////////////////////////////////////////////////////////////
- // Initialize the weather subsystem.
- ////////////////////////////////////////////////////////////////////
-
- // Initialize the weather modeling subsystem
- globals->add_subsystem("environment", new FGEnvironmentMgr);
-
-
////////////////////////////////////////////////////////////////////
// Initialize the lighting subsystem.
////////////////////////////////////////////////////////////////////