(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:
parent
41da51e548
commit
f8b2860ec5
2 changed files with 8 additions and 20 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue