0ad/source/simulation2
wraitii 48f72b0e17 Fix ranged unit chasing following 847f3a9995
D3230 / 847f3a9995 introduced range checking at turn start, and removed
a hack that made units predict the position of their target too far
ahead. This worked fine when in "straight movement" mode, unfortunately
I failed to recognise that ranged units would never use that mode. This
meant that ranged-unit chasing was broken.

There is a straightforward fix however, since we can simply change
TryGoingStraightToTarget to be used by ranged units. It fixes the issue
efficiently and improves movement for ranged units in general, so it
probably should have been done from the start.

Refs #5936

Differential Revision: https://code.wildfiregames.com/D3489
This was SVN commit r24803.
2021-01-27 21:55:49 +00:00
..
components Fix ranged unit chasing following 847f3a9995 2021-01-27 21:55:49 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
scripting Fix 9fc6c3c897 - Set entity/template before deserializing. 2021-01-12 16:15:40 +00:00
serialization Fix NOPCH builds. 2021-01-25 11:12:11 +00:00
system Revert cf6aaf37a4, causing false OOS in visual replays. 2021-01-22 17:13:12 +00:00
tests Fix lag on OOS with AIs 2021-01-16 10:33:00 +00:00
MessageTypes.h Improve behaviour of formations stuck within other units. 2021-01-05 10:12:47 +00:00
Simulation2.cpp Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
Simulation2.h Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
TypeList.h Store turret positions in map files. 2020-11-11 19:40:44 +00:00