Browse Source

Add y offset to zone altitude.

feature-workorder
MagicBot 1 year ago
parent
commit
4b0814c0a1
  1. 3
      src/engine/gameManager/ZoneManager.java

3
src/engine/gameManager/ZoneManager.java

@ -477,6 +477,9 @@ public enum ZoneManager { @@ -477,6 +477,9 @@ public enum ZoneManager {
worldAlttitude = HeightMap.getWorldHeight(parentZone, zone.getLoc());
// Add zone offset to value
worldAlttitude += zone.getYCoord();
return worldAlttitude;
}
}

Loading…
Cancel
Save