From c548383a4cc943b8fd89aecfc92c4beb91fe30f5 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 11 Sep 2023 12:35:58 -0400 Subject: [PATCH] Should not be putting empty maps into the collection with id 0. --- src/engine/InterestManagement/HeightMap.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/InterestManagement/HeightMap.java b/src/engine/InterestManagement/HeightMap.java index 27a70f8c..dd0904aa 100644 --- a/src/engine/InterestManagement/HeightMap.java +++ b/src/engine/InterestManagement/HeightMap.java @@ -149,8 +149,6 @@ public class HeightMap { } } - - HeightMap.heightmapByLoadNum.put(this.zoneLoadID, this); } public HeightMap(Zone zone) { @@ -169,7 +167,6 @@ public class HeightMap { this.fullExtentsX = halfExtentsX * 2; this.fullExtentsY = halfExtentsY * 2; - // We needed to flip the image as OpenGL and Shadowbane both use the bottom left corner as origin. this.heightmapImage = null; @@ -187,8 +184,6 @@ public class HeightMap { } } - - HeightMap.heightmapByLoadNum.put(this.zoneLoadID, this); } public static void GeneratePlayerCityHeightMap() {