]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/kr_87.cxx
move some of the sound postion and orientation calculations over to the sample class...
[flightgear.git] / src / Instrumentation / kr_87.cxx
index eab9bf69b3097a08207db812c2b5bd652254fd2b..d0087c0985429b53db48b60a32afe512e58c742b 100644 (file)
@@ -119,6 +119,7 @@ FGKR_87::~FGKR_87() {
 void FGKR_87::init () {
     SGSoundMgr *smgr = (SGSoundMgr *)globals->get_subsystem("soundmgr");
     _sgr = smgr->find("avionics", true);
+    _sgr->tie_to_listener();
     morse.init();
 }