diff --git a/worldwind/src/jvmCommonMain/kotlin/earth/worldwind/globe/elevation/ElevationDecoder.kt b/worldwind/src/jvmCommonMain/kotlin/earth/worldwind/globe/elevation/ElevationDecoder.kt index c32175983..33e8e820f 100644 --- a/worldwind/src/jvmCommonMain/kotlin/earth/worldwind/globe/elevation/ElevationDecoder.kt +++ b/worldwind/src/jvmCommonMain/kotlin/earth/worldwind/globe/elevation/ElevationDecoder.kt @@ -114,7 +114,7 @@ open class ElevationDecoder: Closeable { } // Check if scale and offset should be applied to elevation data - return if (tileOffset != 1.0f || tileScale != 0.0f || coverageScale != 1.0f || coverageOffset != 0.0f) { + return if (tileScale != 1.0f || tileOffset != 0.0f || coverageScale != 1.0f || coverageOffset != 0.0f) { // Apply scale and offset to INT16 values (except null data value) and return them as FLOAT32 val pixels = FloatArray(png.imgInfo.cols * png.imgInfo.rows) var row = 0