]> git.mxchange.org Git - flightgear.git/commitdiff
tie ATIS to the listener position and orientation
authorehofman <ehofman>
Thu, 29 Apr 2010 13:40:57 +0000 (13:40 +0000)
committerTim Moore <timoore33@gmail.com>
Wed, 5 May 2010 10:03:17 +0000 (12:03 +0200)
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);