Browse Source

Interest manager updates when moving 64 units.

master
MagicBot 1 year ago
parent
commit
b7bbf8d369
  1. 2
      src/engine/InterestManagement/InterestManager.java

2
src/engine/InterestManagement/InterestManager.java

@ -234,7 +234,7 @@ public enum InterestManager implements Runnable {
float distanceSquared = player.getLoc().distanceSquared2D(player.getLastStaticLoc()); float distanceSquared = player.getLoc().distanceSquared2D(player.getLastStaticLoc());
if (distanceSquared > sqr(25)) if (distanceSquared > sqr(64))
player.setLastStaticLoc(player.getLoc()); player.setLastStaticLoc(player.getLoc());
else if (player.isDirtyLoad() == false) else if (player.isDirtyLoad() == false)
return; return;

Loading…
Cancel
Save