mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:09:16 +00:00
For a foe which is not capturable, allowCapture has no effect and the result of canAttackTarget only depends on the template of the unit. Cache it in the foe info, which is rebuilt each turn.