Merge branch 'magicbox1.5' into feature-guard-patrol

This commit is contained in:
FatBoy committed 2023-05-09 18:40:04 -05:00
commit b3c7db9214
10 files changed
+48 -100

No files matched your search

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