Browse Source

Height for seafloor

combat-2
MagicBot 1 year ago
parent
commit
3d4058ad01
  1. 1
      src/engine/objects/Zone.java

1
src/engine/objects/Zone.java

@ -214,6 +214,7 @@ public class Zone extends AbstractGameObject {
if (this.parent == null) { if (this.parent == null) {
this.absX = this.xOffset; this.absX = this.xOffset;
this.absY = MBServerStatics.SEA_FLOOR_ALTITUDE; this.absY = MBServerStatics.SEA_FLOOR_ALTITUDE;
this.global_height = MBServerStatics.SEA_FLOOR_ALTITUDE;
this.absZ = this.zOffset; this.absZ = this.zOffset;
this.seaLevel = 0; this.seaLevel = 0;
this.setBounds(); this.setBounds();

Loading…
Cancel
Save