From 0fe90a83dd5df063252c10f50d9f8320e9055637 Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Mon, 10 Feb 2003 15:34:18 +0000 Subject: [PATCH] Fix a bug in tile manager updating when switching from one view to the next. --- src/Scenery/tilemgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;