- Mit GIB 0 an Bauern gegebene Dämonen verschwinden.

This commit is contained in:
Christian Schlittchen 2002-02-18 21:48:22 +00:00
parent fa8c86084b
commit 9b74116763
2 changed files with 4 additions and 2 deletions

View File

@ -3399,7 +3399,7 @@ report_summary(summary * s, summary * o, boolean full)
rcomp(s->poprace[i],o->poprace[i])); rcomp(s->poprace[i],o->poprace[i]));
} }
} else { } else {
for (i = 0; i < MAXRACES; i++) if (s->poprace[i] && playerrace(new_race[i])) { for (i = 0; i < MAXRACES; i++) if (s->poprace[i] && playerrace(new_race[i]) && i != RC_TEMPLATE) {
fprintf(F, "%20s: %s\n", LOC(default_locale, rc_name(new_race[i], 1)), fprintf(F, "%20s: %s\n", LOC(default_locale, rc_name(new_race[i], 1)),
rcomp(s->poprace[i],o->poprace[i])); rcomp(s->poprace[i],o->poprace[i]));
} }

View File

@ -828,8 +828,10 @@ transfermen(unit * u, unit * u2, int n)
} }
} }
else if (r->land) else if (r->land)
if(u->race != new_race[RC_DAEMON]) {
rsetpeasants(r, rpeasants(r) + n); rsetpeasants(r, rpeasants(r) + n);
} }
}
struct building * struct building *
inside_building(const struct unit * u) inside_building(const struct unit * u)