]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_commands.cxx
Adjust subsystem order (instruments vs systems)
[flightgear.git] / src / Main / fg_commands.cxx
index b248e13834ce2e010124edd10b8c3ac6f6f744f8..f9efa5b4794b83b039dbdafe4541f80ab5ceb5b1 100644 (file)
@@ -49,6 +49,7 @@
 #include "logger.hxx"
 #include "util.hxx"
 #include "main.hxx"
+#include "positioninit.hxx"
 
 #include <boost/scoped_array.hpp>
 
@@ -1228,7 +1229,7 @@ do_presets_commit (const SGPropertyNode * arg)
       // Nasal can trigger this during initial init, which confuses
       // the logic in ReInitSubsystems, since initial state has not been
       // saved at that time. Short-circuit everything here.
-      fgInitPosition();
+      flightgear::initPosition();
     }
     
     return true;