CVS: source/src/ATCDCL ATC.cxx,1.11,1.12

Erik Hofman <[email protected]> Thu, 29 Apr 2010 08:41:12 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/source/src/ATCDCL
In directory baron.flightgear.org:/tmp/cvs-serv25586

Modified Files:
	ATC.cxx 
Log Message:
tie ATIS to the listener position and orientation

Index: ATC.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/ATCDCL/ATC.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ATC.cxx	2 Jan 2010 20:22:02 -0000	1.11
+++ ATC.cxx	29 Apr 2010 13:40:57 -0000	1.12
@@ -59,6 +59,7 @@
 {
 	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);


------------------------------------------------------------------------------