0ad/binaries
wraitii 8bab09d37c Fix UnitAI infinite loop following a16e7c0a56
As reported by Angen and Gurken Khan on the forums, there is a crash
following a16e7c0a56 caused by an infinite loop in UnitAI. The reason is
that IDLE.enter can order us to attack, which can fail, switching us
right away back to idle.

FinishOrder's behaviour allows us to have IDLE as a default state and
lets us not lose a turn when becoming idle, so to keep this behaviour
explicitely check that we are not already in IDLE before switching
states.

Reported by: Angen, Gurken Khan
Commented by: elexis, Itms
Differential Revision: https://code.wildfiregames.com/D1743
This was SVN commit r22059.
2019-01-19 07:44:40 +00:00
..
data Fix UnitAI infinite loop following a16e7c0a56 2019-01-19 07:44:40 +00:00
logs Updates logs readme with link to Trac, to replace confusing outdated info 2012-08-02 19:41:50 +00:00
system Test all full hashes in non-visual replaymode by default and keep skipping quick-hash by default. 2018-05-29 02:14:38 +00:00