From: curt Date: Mon, 10 Feb 2003 15:34:18 +0000 (+0000) Subject: Fix a bug in tile manager updating when switching from one view to the next. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0fe90a83dd5df063252c10f50d9f8320e9055637;p=flightgear.git Fix a bug in tile manager updating when switching from one view to the next. --- diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index 5fc157452..94400cffd 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_center() ) ) + globals->get_scenery()->get_next_center() ) ) { last_longitude = longitude; last_latitude = latitude;