]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.cxx
move some of the sound postion and orientation calculations over to the sample class...
[flightgear.git] / src / Instrumentation / adf.cxx
index d2ac69145c262c2ff380aa3341c7643fdbc71a25..9f9ba2d835d90c6b5ff2800cf98946b469acf67a 100644 (file)
@@ -104,6 +104,7 @@ ADF::init ()
 
     SGSoundMgr *smgr = (SGSoundMgr *)globals->get_subsystem("soundmgr");
     _sgr = smgr->find("avionics", true);
+    _sgr->tie_to_listener();
 
     morse.init();