]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/instrument_mgr.cxx
GPWS: avoid "altitude_callout_voice != NULL" assertion
[flightgear.git] / src / Instrumentation / instrument_mgr.cxx
index 2e3f21e3f3d5fcaaf7549e8f79715e9eb535ebef..19fcaeb066ea21386d1fb4a4e2ae932b3ba3c9e0 100644 (file)
@@ -55,7 +55,8 @@ FGInstrumentMgr::FGInstrumentMgr () :
   _explicitGps(false)
 {
     set_subsystem("od_gauge", new FGODGauge);
-    set_subsystem("hud", new HUD);
+    
+    globals->add_subsystem("hud", new HUD, SGSubsystemMgr::DISPLAY);
 }
 
 FGInstrumentMgr::~FGInstrumentMgr ()