From 426bdf5df340ea9a660a4be6d1df5246177df8fe Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 12 Sep 2023 16:13:27 -0400 Subject: [PATCH] Removed yoffset from world altitude. --- src/engine/gameManager/ZoneManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/ZoneManager.java b/src/engine/gameManager/ZoneManager.java index f631f0ed..4a50cd8b 100644 --- a/src/engine/gameManager/ZoneManager.java +++ b/src/engine/gameManager/ZoneManager.java @@ -471,7 +471,7 @@ public enum ZoneManager { // Child of seafloor if (parentZone.getParent() == null) - return worldAlttitude + zone.getYCoord(); + return worldAlttitude; // return height from heightmap engine at zone location