From: curt Date: Tue, 11 Feb 2003 15:50:53 +0000 (+0000) Subject: Another tilemgr fix from Jim W. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=53083bf9fb17fca43f85923c93c5721e6543c8e6;p=flightgear.git Another tilemgr fix from Jim W. --- diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index 94400cffd..6ad0ec3d4 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -407,7 +407,7 @@ int FGTileMgr::update( FGLocation *location, double visibility_meters, if ( longitude != last_longitude || latitude != last_latitude ) { // update current elevation... if ( updateCurrentElevAtPos( abs_pos_vector, - globals->get_scenery()->get_next_center() ) ) + location->get_tile_center() ) ) { last_longitude = longitude; last_latitude = latitude;