diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index bfe8c0a7e..1d4bd40ad 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -375,7 +375,7 @@ void FGTileMgr::schedule_tiles_at(const SGGeod& location, double range_m) // SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update() for " // << longitude << " " << latitude ); - current_bucket.set_bucket( location ); + current_bucket = SGBucket( location ); // schedule more tiles when visibility increased considerably // TODO Calculate tile size - instead of using fixed value (5000m)