value is halfExtent

This commit is contained in:
MagicBot committed 2023-09-17 12:23:06 -04:00
1 parent a94b12e8cd
commit 8ece4caf1c
9 files changed
+21 -21

No files matched your search

@@ -51,7 +51,7 @@ public class MovementUtilities {
//Guards recall distance = 814.
if (tol != null) {
return !(agent.getLoc().distanceSquared2D(tol.getLoc()) > sqr(Enum.CityBoundsType.ZONE.extents));
return !(agent.getLoc().distanceSquared2D(tol.getLoc()) > sqr(Enum.CityBoundsType.ZONE.halfExtents));
}
}