]> git.mxchange.org Git - flightgear.git/commitdiff
Tweak init order of controls/input.
authorJames Turner <zakalawe@mac.com>
Thu, 27 Sep 2012 14:33:12 +0000 (15:33 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 27 Sep 2012 14:33:12 +0000 (15:33 +0100)
src/Main/fg_init.cxx

index 3c3955c92529e525718c9f4861c7c160400f0c0e..38f43dc85deca7ea4f2984eaddb63a6bcb9b8ed6 100644 (file)
@@ -686,13 +686,13 @@ void fgCreateSubsystems() {
     // Initialize the controls subsystem.
     ////////////////////////////////////////////////////////////////////
     
-    globals->add_subsystem("controls", new FGControls);
+    globals->add_subsystem("controls", new FGControls, SGSubsystemMgr::GENERAL);
 
     ////////////////////////////////////////////////////////////////////
     // Initialize the input subsystem.
     ////////////////////////////////////////////////////////////////////
 
-    globals->add_subsystem("input", new FGInput);
+    globals->add_subsystem("input", new FGInput, SGSubsystemMgr::GENERAL);
 
 
     ////////////////////////////////////////////////////////////////////