]> git.mxchange.org Git - flightgear.git/commitdiff
Actually set the current scenery elevation based on scenery intersection point
authorcurt <curt>
Thu, 3 Dec 1998 14:15:24 +0000 (14:15 +0000)
committercurt <curt>
Thu, 3 Dec 1998 14:15:24 +0000 (14:15 +0000)
rather than calculating the intesection point and throwing it away.

Scenery/tilemgr.cxx

index 8f9abfce073d2230ceb469b9cb8f8b1df4bb8ed9..93c91e9fa9dad3b08f7cca0b69fd7ff9d3a7ddf3 100644 (file)
@@ -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.