1
0
forked from 0ad/0ad
0ad/binaries
wraitii 0363202a20 Trigger an exit-reentry when the target entity of an order is renamed
This lets sunit AI FSM states correctly handle target entity renaming by
processing a message when that happens. The default behaviour is to
leave-reenter the state, which re-runs sanity checks and optionally
picks a better behaviour.

UnitMotion is still not made aware of entity renaming, as the
leave-enter makes it irrelevant in practice. It still may be a good idea
to implement that someday.

Fixes the concern raised at de1bb8a766.
Fixes #5584

Comments by: bb, Freagarach
Reported by: minohaka, bb, Freagarach
Differential Revision: https://code.wildfiregames.com/D2735
This was SVN commit r23708.
2020-05-29 17:00:50 +00:00
..
data Trigger an exit-reentry when the target entity of an order is renamed 2020-05-29 17:00:50 +00:00
logs
system Adds a possibility to disable saving of replay in autostart mode. 2019-07-03 21:36:40 +00:00