]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/instrument_mgr.cxx
Added copyright to ground radar files
[flightgear.git] / src / Instrumentation / instrument_mgr.cxx
index e8b5eb64c59fa249ab8660264603913cff28a81d..638bd47a165f5888c6d60e47e4c2e95dc8bb4ffa 100644 (file)
@@ -47,7 +47,7 @@
 #include "tacan.hxx"
 #include "mk_viii.hxx"
 #include "mrg.hxx"
-
+#include "groundradar.hxx"
 
 FGInstrumentMgr::FGInstrumentMgr ()
 {
@@ -178,6 +178,9 @@ bool FGInstrumentMgr::build ()
         } else if ( name == "master-reference-gyro" ) { 
             set_subsystem( "instrument" + temp.str(), 
                            new MasterReferenceGyro( node ) );
+        } else if ( name == "groundradar" ) { 
+            set_subsystem( "instrument" + temp.str(), 
+                           new GroundRadar( node ), 1 );
 
         } else {
             SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "