1
0
Fork 0

Fix a bug in tile manager updating when switching from one view to the next.

This commit is contained in:
curt 2003-02-10 15:34:18 +00:00
parent d073156a59
commit 0fe90a83dd

View file

@ -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;