]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.cxx
Merge branch 'maint'
[flightgear.git] / src / Instrumentation / adf.cxx
index 9f9ba2d835d90c6b5ff2800cf98946b469acf67a..6da2a2ed40d1614d8f01386d6d3b3a1e0bd7fee1 100644 (file)
@@ -102,7 +102,7 @@ ADF::init ()
     _ident_node = node->getChild("ident", 0, true);
     _ident_audible_node = node->getChild("ident-audible", 0, true);
 
-    SGSoundMgr *smgr = (SGSoundMgr *)globals->get_subsystem("soundmgr");
+    SGSoundMgr *smgr = globals->get_soundmgr();
     _sgr = smgr->find("avionics", true);
     _sgr->tie_to_listener();