From 6b339da061e76b8562648a748b826b57836478d2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 7 Oct 2023 21:03:47 -0400 Subject: [PATCH] Count propagated --- src/engine/InterestManagement/HeightMap.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/InterestManagement/HeightMap.java b/src/engine/InterestManagement/HeightMap.java index 7c09c945..8550b2ad 100644 --- a/src/engine/InterestManagement/HeightMap.java +++ b/src/engine/InterestManagement/HeightMap.java @@ -144,6 +144,8 @@ public class HeightMap { } } + bucketCountX = this.pixelColorValues.length - 1; + bucketCountY = this.pixelColorValues[0].length - 1; } public HeightMap(Zone zone) { @@ -175,6 +177,8 @@ public class HeightMap { } } + bucketCountX = this.pixelColorValues.length - 1; + bucketCountY = this.pixelColorValues[0].length - 1; } public static void GeneratePlayerCityHeightMap() {