This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cancel plans on revolt


Jim Kingdon wrote:
> 
> One annoying feature of the standard game is that when one of the
> computer's units revolts to your side, it has a mind of its own (more
> specifically it has a plan like "offensive" and it will produce units
> according to its own notions rather than being passive.

Good catch!  Yes, the plan should be reset.

> The enclosed patch fixes that.  I tested the case above and the case
> in which the unit revolts from one computer polayer to another; both
> seemed to work.

Actually, I think we need to run init_unit_plan to clear the whole
plan; otherwise properties like aicontrol, formation, etc, are left
untouched, with interesting, if undesired, consequences...

Stan

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]