value is halfExtent

This commit is contained in:
2023-09-17 12:23:06 -04:00
parent a94b12e8cd
commit 8ece4caf1c
9 changed files with 21 additions and 21 deletions
@@ -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));
}
}