When an army captures its target, it may get stuck with the captured structure as its target if it tries to update to help another army. The other plan it chooses to help may have the same target structure (and had not been updated yet), so the plan will be assigned the captured structure as a target, and it will be stuck indefinitely with the captured target.
Details
Details
See that UpdateTarget() wasn't updated for this particular case when capturing was introduced.
Diff Detail
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Checking XML files...
http://jw:8080/job/phabricator/1698/ for more details.