1
0
forked from 0ad/0ad
0ad/binaries
Angen 0c1a45259f React to Attacked message in IDLE when really idle
Issue described in #5945.
Unit finishing the order such as walking, will reach destination and if
attacked, imediately reacts to the attacker.
Hovewer, more desireble is for unit to look around since entering idle
state and pick the target if any using preference and then react to
attacker.
This issue rised up after finding of new targets have been moved from
enter to timer to avoid infinite loops after alwaysenterstate logic
removal.

Only downside here is unit will receive few hits before reacting as we
are waiting to the timer first. This happens only if unit goes idle.

Differential revision: D3504
Reviewed by: Freagarach
Comments by: wraitii
Fixes: #5945

This was SVN commit r24818.
2021-02-01 19:58:09 +00:00
..
data React to Attacked message in IDLE when really idle 2021-02-01 19:58:09 +00:00
logs
system Fix the random slowdowns and speedups on AMD CPUs for Windows 2020-11-06 23:18:16 +00:00