]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATCDCL/ATC.cxx
Fix two bugs in the new autopilot code
[flightgear.git] / src / ATCDCL / ATC.cxx
index 68963fe929f7e9ff571c5e7641f89e76ff75cc19..10fb8971545d1b770ee226d835043493bfa6bf16 100644 (file)
@@ -59,6 +59,7 @@ FGATC::FGATC() :
 {
        SGSoundMgr *smgr = globals->get_soundmgr();
        _sgr = smgr->find("atc", true);
+        _sgr->tie_to_listener();
 
        _volume = fgGetNode("/sim/sound/atc/volume", true);
        _enabled = fgGetNode("/sim/sound/atc/enabled", true);