]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/instrument_mgr.cxx
adf: fix "in-range" node
[flightgear.git] / src / Instrumentation / instrument_mgr.cxx
index 67dfd7623deb6b1b15b677bfc4db05c898105238..4ebda4fa1b1c7bf8d457d22abd456d75d0564cb8 100644 (file)
@@ -52,6 +52,7 @@
 #include "agradar.hxx"
 #include "rad_alt.hxx"
 #include "tcas.hxx"
+#include "NavDisplay.hxx"
 
 FGInstrumentMgr::FGInstrumentMgr () :
   _explicitGps(false)
@@ -227,7 +228,10 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props)
 
         } else if ( name == "tcas" ) {
             set_subsystem( id, new TCAS( node ) );
-
+        
+        } else if ( name == "navigation-display" ) {
+            set_subsystem( id, new NavDisplay( node ) );
+            
         } else {
             SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "
                     << name );