Follow-up Comment #1, patch #2321 (project freeciv):
- Do *not* use adv_unit_new_task(... AUT_NONE ...) in default ai code, but
call ai_unit_new_task(... AIUNIT_NONE ...) directly. Problem with former was
that adv_unit_task was not necessarily changing and it decided to do nothing
when ai_unit_task on the other hand was expected to change. In other words, it
was not working when ai_unit_task was changing from one value that maps to
adv_unit_task value AUT_NONE to another that also maps to AUT_NONE.
(file #11876)
_______________________________________________________
Additional Item Attachment:
File name: SplitAiTaskAdv_2321-2.diff.bz2 Size:8 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2321>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev