]> git.mxchange.org Git - flightgear.git/commitdiff
Use the proper absolute position for the listener
authorehofman <ehofman>
Tue, 3 Nov 2009 09:59:05 +0000 (09:59 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 4 Nov 2009 22:14:33 +0000 (23:14 +0100)
src/Main/viewmgr.cxx

index 36ddc60f549229cd2cbd96c69bb5b93edca1f42d..544076b98dcb77fdc22a331d1719e6e1f5a37bcc 100644 (file)
@@ -297,7 +297,7 @@ FGViewMgr::update (double dt)
 
   // update audio listener values
   // set the viewer posotion in Cartesian coordinates in meters
-  smgr->set_position_geod( loop_view->getPosition() );
+  smgr->set_position( abs_viewer_position );
   smgr->set_orientation( loop_view->getViewOrientation() );
 
   // get the model velocity