Height for seafloor

This commit is contained in:
2023-10-15 15:57:58 -04:00
parent 761ec6f4af
commit 3d4058ad01
+1
View File
@@ -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();