(prod, nati): Use max_pop() instead of hardcoded values. Before,

struct dchrstr member d_maxpop had no effect in some cases.
This commit is contained in:
Markus Armbruster 2005-02-13 18:25:30 +00:00
parent 41da51e548
commit f8b2860ec5
2 changed files with 8 additions and 20 deletions

View file

@ -95,9 +95,7 @@ nati(void)
pr(" Plague factor : %6.2f%%\n", pfac);
pr("\n");
poplimit = 999;
if (opt_RES_POP)
poplimit = max_pop(natp->nat_level[NAT_RLEV], 0);
poplimit = max_pop(natp->nat_level[NAT_RLEV], 0);
pr("Max population : %d\n", poplimit);
safepop =