This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Bug in acp-independent action code
- From: Lincoln Peters <sampln at sbcglobal dot net>
- To: Xconq list <xconq7 at sources dot redhat dot com>
- Date: Thu, 10 Jun 2004 23:18:31 -0700
- Subject: Bug in acp-independent action code
It would appear that, if an acp-independent unit executes a build task
that depends on a certain material (as per unit-consumption-per-cp), and
it runs out of the material before it can complete the build task, it
will often abort the task and go into reserve, whereas it should go into
reserve but keep the plan.
It took me a while to pin this bug down, since an acp-independent unit
with no task assigned automatically resumes building any incomplete
units that occupy it. Consequently, it will build at least one unit
despite the bug, and so it initially appeared to be a bug in the code
that handles the number of units built as the result of a single build
task (e.g. you tell it to build 99 knights and it only builds 1).
---
Lincoln Peters
<sampln@sbcglobal.net>
Air is water with holes in it.