|
|
@ -234,12 +234,9 @@ 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(25)) |
|
|
|
player.setLastStaticLoc(player.getLoc()); |
|
|
|
player.setLastStaticLoc(player.getLoc()); |
|
|
|
player.dirtyLoad = true; |
|
|
|
else if (player.dirtyLoad == false) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (player.dirtyLoad == false) |
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
// Get Statics in range
|
|
|
|
// Get Statics in range
|
|
|
|