mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 16:07:32 +00:00
dbebe0a39a
As reported by @bb in #5512, catapults and other big-range units might not approach targets correctly when trying to get in range. To be sure that we will be in range of a square obstruction approximated as a circle, we need to consider the inscribed circle and not the circumscribed circle. Reported by: bb Fixes #5512 Differential Revision: https://code.wildfiregames.com/D2086 This was SVN commit r22495.