From b7bbf8d369c45d7f306e418777adcce2194adeb9 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 21 Aug 2023 05:02:49 -0400 Subject: [PATCH] Interest manager updates when moving 64 units. --- src/engine/InterestManagement/InterestManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index 7b429523..ab6ea532 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -234,7 +234,7 @@ public enum InterestManager implements Runnable { float distanceSquared = player.getLoc().distanceSquared2D(player.getLastStaticLoc()); - if (distanceSquared > sqr(25)) + if (distanceSquared > sqr(64)) player.setLastStaticLoc(player.getLoc()); else if (player.isDirtyLoad() == false) return;