diff --git a/src/engine/InterestManagement/HeightMap.java b/src/engine/InterestManagement/HeightMap.java index ba4df79a..85c03158 100644 --- a/src/engine/InterestManagement/HeightMap.java +++ b/src/engine/InterestManagement/HeightMap.java @@ -93,7 +93,7 @@ public class HeightMap { float numOfBucketsY = this.heightmapImage.getHeight() - 1; float calculatedWidthY = this.fullExtentsY / numOfBucketsY; - this.bucketWidthX = calculatedWidthY; + this.bucketWidthY = calculatedWidthY; // Generate pixel array from image data