Browse Source

WorldAltitude for seafloor set

combat-2
MagicBot 1 year ago
parent
commit
483ccbff00
  1. 2
      src/engine/InterestManagement/Terrain.java

2
src/engine/InterestManagement/Terrain.java

@ -81,7 +81,7 @@ public class Terrain { @@ -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

Loading…
Cancel
Save