From: curt Date: Thu, 3 Dec 1998 14:15:24 +0000 (+0000) Subject: Actually set the current scenery elevation based on scenery intersection point X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cfc9e51128b6f4c1485540f490d8f50caa6a1b20;p=flightgear.git Actually set the current scenery elevation based on scenery intersection point rather than calculating the intesection point and throwing it away. --- diff --git a/Scenery/tilemgr.cxx b/Scenery/tilemgr.cxx index 8f9abfce0..93c91e9fa 100644 --- a/Scenery/tilemgr.cxx +++ b/Scenery/tilemgr.cxx @@ -443,7 +443,7 @@ int fgTileMgrUpdate( void ) { } // find our current elevation (feed in the current bucket to save work) - fgTileMgrCurElev( p1 ); + scenery.cur_elev = fgTileMgrCurElev( p1 ); p_last.lon = p1.lon; p_last.lat = p1.lat; @@ -748,6 +748,10 @@ void fgTileMgrRender( void ) { // $Log$ +// Revision 1.46 1998/12/03 14:15:24 curt +// Actually set the current scenery elevation based on scenery intersection point +// rather than calculating the intesection point and throwing it away. +// // Revision 1.45 1998/12/03 01:18:18 curt // Converted fgFLIGHT to a class. // Tweaks for Sun Portability.