From 483ccbff00984a73e394410d16bc87ac553046b3 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 9 Oct 2023 04:37:54 -0400 Subject: [PATCH] WorldAltitude for seafloor set --- src/engine/InterestManagement/Terrain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 9a728e0c..d5e6bf37 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -81,7 +81,7 @@ public class Terrain { // Seafloor is rather flat. if (currentZone == ZoneManager.getSeaFloor()) - return currentZone.worldAltitude; + return currentZone.yOffset; // Retrieve the next zone with a heightmap attached. // Zones without a heightmap use the next zone up the