From 342744fddb16911c807632797371bbc3d328b72e Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 3 Nov 2009 09:59:05 +0000 Subject: [PATCH] Use the proper absolute position for the listener --- src/Main/viewmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/viewmgr.cxx b/src/Main/viewmgr.cxx index 36ddc60f5..544076b98 100644 --- a/src/Main/viewmgr.cxx +++ b/src/Main/viewmgr.cxx @@ -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