forked from github/server
BUG 2313: summary should not reset num_people.
it did not count spells correctly.
This commit is contained in:
parent
a93dc5459b
commit
627f5ba2d1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue