mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-23 03:53:53 +00:00
a783f430d5
When units are hunting, they push an attacking order in front. That attacking order keeps track of the target's last known position to efficiently hunt. However, if the unit goes out of LOS, ShouldAbandonChase triggers and the unit goes back to the gather order - which hby then as a hopelessly out of date "LastPos". By updating the LastPos of the gather order as well, Gather can recover efficiently. Differential Revision: https://code.wildfiregames.com/D2072 This was SVN commit r22543.