Cancel plans on revolt

Stan Shebs shebs@shebs.cnchost.com
Mon Oct 2 08:33:00 GMT 2000


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


More information about the Xconq7 mailing list