]> git.mxchange.org Git - flightgear.git/commitdiff
Tweak tile-manager SGBucket API
authorJames Turner <zakalawe@mac.com>
Wed, 19 Feb 2014 22:02:09 +0000 (14:02 -0800)
committerJames Turner <zakalawe@mac.com>
Wed, 19 Feb 2014 22:02:09 +0000 (14:02 -0800)
* FG builds with 'NO_DEPRECATED_API' in SGBucket

src/Scenery/tilemgr.cxx

index bfe8c0a7ea0be4f63df36ce7f70271d23cf964f8..1d4bd40adb2a8feb5a929b76562a1f5643ea3d26 100644 (file)
@@ -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)