]> git.mxchange.org Git - flightgear.git/commitdiff
Adjust subsystem order (instruments vs systems)
authorThorstenB <brehmt@gmail.com>
Wed, 19 Sep 2012 18:53:54 +0000 (20:53 +0200)
committerThorstenB <brehmt@gmail.com>
Wed, 19 Sep 2012 18:53:54 +0000 (20:53 +0200)
"instruments" depend on "systems" (pitot/static pressure etc), so
"systems" should be there first.

src/Main/fg_init.cxx

index a8ea0d5ad23884a8905af894a684d22abb8cd707..67cf89250fc3a6aa508d0030dba2c2a21f97f08f 100644 (file)
@@ -592,8 +592,8 @@ void fgCreateSubsystems() {
     // autopilot.)
     ////////////////////////////////////////////////////////////////////
 
-    globals->add_subsystem("instrumentation", new FGInstrumentMgr, SGSubsystemMgr::FDM);
     globals->add_subsystem("systems", new FGSystemMgr, SGSubsystemMgr::FDM);
+    globals->add_subsystem("instrumentation", new FGInstrumentMgr, SGSubsystemMgr::FDM);
 
     ////////////////////////////////////////////////////////////////////
     // Initialize the XML Autopilot subsystem.