]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.cxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Main / fg_init.cxx
index caf1d0216f613dc5e27d5ada86180e297094e9c1..b5c3f1afe35d28129909201e2a5af0535e02e161 100644 (file)
@@ -97,6 +97,7 @@
 #include <FDM/YASim/YASim.hxx>
 #include <Include/general.hxx>
 #include <Input/input.hxx>
+#include <Instrumentation/instrument_mgr.hxx>
 // #include <Joystick/joystick.hxx>
 #include <Objects/matlib.hxx>
 #include <Model/acmodel.hxx>
@@ -1025,6 +1026,12 @@ bool fgInitSubsystems( void ) {
     globals->get_systemmgr()->init();
     globals->get_systemmgr()->bind();
 
+    ////////////////////////////////////////////////////////////////////
+    // Initialize the instrumentation.
+    ////////////////////////////////////////////////////////////////////
+    globals->get_instrumentmgr()->init();
+    globals->get_instrumentmgr()->bind();
+
     ////////////////////////////////////////////////////////////////////
     // Initialize the radio stack subsystem.
     ////////////////////////////////////////////////////////////////////