dirtyFlag integration.
This commit is contained in:
1 parent
ca21c3d266
commit
44b5b98597
1 file changed
+2
-5
@@ -234,12 +234,9 @@ public enum InterestManager implements Runnable {
|
||||
|
||||
float distanceSquared = player.getLoc().distanceSquared2D(player.getLastStaticLoc());
|
||||
|
||||
if (distanceSquared > sqr(25)) {
|
||||
if (distanceSquared > sqr(25))
|
||||
player.setLastStaticLoc(player.getLoc());
|
||||
player.dirtyLoad = true;
|
||||
}
|
||||
|
||||
if (player.dirtyLoad == false)
|
||||
else if (player.dirtyLoad == false)
|
||||
return;
|
||||
|
||||
// Get Statics in range
|
||||
|
||||
Reference in new issue
Block a user