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

This commit is contained in:
2023-05-09 18:40:04 -05:00
10 changed files with 48 additions and 100 deletions
@@ -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;
}
}
}