Che cannot target #0:

(guerrilla): Oops on it.
(doland, takeover): Clear them when che_target becomes 0.

(doland): Fix bogus message.

(guerrilla): Remove silly sanity check.
This commit is contained in:
Markus Armbruster 2006-06-16 20:01:30 +00:00
parent 4d1dd6fa6a
commit 27d37f35a9
3 changed files with 6 additions and 9 deletions

View file

@ -141,6 +141,8 @@ takeover(struct sctstr *sp, natid newown)
sp->sct_che = che_count;
if (newown != sp->sct_oldown)
sp->sct_che_target = newown;
if (sp->sct_che_target == 0)
sp->sct_che = 0;
sp->sct_item[I_CIVIL] = civ;
if (sp->sct_oldown == newown || civ == 0) {
/*