]> git.mxchange.org Git - simgear.git/blobdiff - simgear/bucket/newbucket.cxx
New pick animation capability from Alex Perry
[simgear.git] / simgear / bucket / newbucket.cxx
index 9a4b20ebfe436cb1610880c293de8e62bb56ea0a..119959039091e68cd7dcad37dcfd125aa7913371 100644 (file)
@@ -106,7 +106,7 @@ void SGBucket::set_bucket( double dlon, double dlat ) {
     } else if ( span <= 1.0 ) {
        x = (int)((dlon - lon) / span);
     } else {
-       if ( (dlon >= 0) || (fabs(diff) < SG_EPSILON) ) {
+       if ( dlon >= 0 ) {
            lon = (int)( (int)(lon / span) * span);
        } else {
            // cout << " lon = " << lon