BUG 2313: summary should not reset num_people.

it did not count spells correctly.
This commit is contained in:
Enno Rehling 2017-03-12 14:18:42 +01:00
parent a93dc5459b
commit 627f5ba2d1
1 changed files with 0 additions and 2 deletions

View File

@ -394,7 +394,6 @@ summary *make_summary(void)
} }
++plang->number; ++plang->number;
f->nregions = 0; f->nregions = 0;
f->num_people = 0;
if (f->units) { if (f->units) {
s->factions++; s->factions++;
/* Problem mit Monsterpartei ... */ /* Problem mit Monsterpartei ... */
@ -476,7 +475,6 @@ summary *make_summary(void)
} }
} }
f->num_people += u->number;
orace = (int)old_race(u_race(u)); orace = (int)old_race(u_race(u));
if (orace >= 0) { if (orace >= 0) {
s->poprace[orace] += u->number; s->poprace[orace] += u->number;