diff --git a/src/engine/gameManager/ZoneManager.java b/src/engine/gameManager/ZoneManager.java index 008ddc03..5a6f9afd 100644 --- a/src/engine/gameManager/ZoneManager.java +++ b/src/engine/gameManager/ZoneManager.java @@ -294,6 +294,9 @@ public enum ZoneManager { Vector2f localCoords; Vector2f zoneOrigin; + if (ZoneManager.seaFloor.equals(serverZone)) + zoneOrigin = new Vector2f(); + // Top left corner of zone is calculated in world space by the center and it's extents. zoneOrigin = new Vector2f(serverZone.getLoc().x, serverZone.getLoc().z);