The patch fixes several small flaws:
- in common-api/map-module.js the computation of the obstruction shape circle was slightly wrong, being sometimes a bit conservative (by one cell). In addition, the circle is now cached, instead of recomputed for each cell.
- in petra/mapModule.js, the AI applies the minDistance by treating all cells within this distance of previous structures as obstructed. That was too conservative as only the center of the new building should be at minDistance, so now it treats only cells within (minDistance-obstructionRadius) as obstructed.