mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
f12975e9b9
StandGround units now use parabolic range queries to detect enemies, accounting for terrain elevation and height offsets. This ensures units on hills or when 'turreted', can detect enemies that are in parabolic range but outside flat range. Previously, StandGround detection used flat circular queries, causing units to miss enemies in their elevation-buffed range. Other stances are unaffected since they chase targets anyway.