diff --git a/src/engine/objects/Zone.java b/src/engine/objects/Zone.java index bcc6da39..12873eb5 100644 --- a/src/engine/objects/Zone.java +++ b/src/engine/objects/Zone.java @@ -251,10 +251,12 @@ public class Zone extends AbstractGameObject { this.maxLvl = this.parent.maxLvl; } + this.worldAltitude = ZoneManager.caclulateWorldAltitude(this); + this.setBounds(); if (this.getParent() == null) { - this.seaLevel = 0; + this.seaLevel = MBServerStatics.SEA_FLOOR_ALTITUDE; return; } diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 413fc74b..435670cd 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -566,7 +566,6 @@ public class WorldServer { for (Zone zone : rootParent) { ZoneManager.addZone(zone.getLoadNum(), zone); - zone.worldAltitude = ZoneManager.caclulateWorldAltitude(zone); //Handle Buildings