From a1a3ea6234084e2b38a399b371b035c4e099ec55 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 11 Oct 2023 11:01:04 -0400 Subject: [PATCH] Debug code added --- src/engine/gameManager/ZoneManager.java | 3 +++ 1 file changed, 3 insertions(+) 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);