From: ehofman Date: Tue, 3 Nov 2009 09:59:05 +0000 (+0000) Subject: Use the proper absolute position for the listener X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=342744fddb16911c807632797371bbc3d328b72e;p=flightgear.git Use the proper absolute position for the listener --- 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