Browse Source

Removed yoffset from world altitude.

combat-2
MagicBot 1 year ago
parent
commit
426bdf5df3
  1. 2
      src/engine/gameManager/ZoneManager.java

2
src/engine/gameManager/ZoneManager.java

@ -471,7 +471,7 @@ public enum ZoneManager { @@ -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

Loading…
Cancel
Save