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.
Additional Item Attachment:
File name: SplitAiTaskAdv_2321-2.diff.bz2 Size:8 KB
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list