]> git.mxchange.org Git - simgear.git/commitdiff
Fix new SGBucket API
authorChristian Schmitt <chris@ilovelinux.de>
Fri, 21 Feb 2014 10:13:32 +0000 (11:13 +0100)
committerChristian Schmitt <chris@ilovelinux.de>
Fri, 21 Feb 2014 10:13:32 +0000 (11:13 +0100)
simgear/bucket/newbucket.cxx

index 5d2f7a6c8a0d1cf0ab331788f78ed213a9ef684f..6b7cd82eb295461ea3c46ff83845e9906892f888 100644 (file)
@@ -73,8 +73,8 @@ SGBucket::SGBucket(const double dlon, const double dlat) {
 #endif
 
 SGBucket::SGBucket(const SGGeod& geod) {
-    set_bucket(geod.getLongitudeDeg(),
-                   geod.getLatitudeDeg());
+    innerSet(geod.getLongitudeDeg(),
+             geod.getLatitudeDeg());
 }
 
 // Parse a unique scenery tile index and find the lon, lat, x, and y