(infect_people): Use max_pop() to compute space. This makes all
crowded sectors equally vulnerable, including mountains, plains, and inefficient big cities. Closes #917488. Update info.
This commit is contained in:
parent
d721ba3b5c
commit
298ba998e4
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ infect_people(struct natstr *np, struct sctstr *sp)
|
|||
* make plague where there was none before...
|
||||
*/
|
||||
pop = sp->sct_item[I_CIVIL] + sp->sct_item[I_MILIT] + sp->sct_item[I_UW];
|
||||
pop_space = opt_BIG_CITY && (sp->sct_type == SCT_CAPIT) ? 9999.0 : 999.0;
|
||||
pop_space = max_pop(np->nat_level[NAT_RLEV], sp);
|
||||
bad_stuff
|
||||
= sp->sct_item[I_IRON] + sp->sct_item[I_OIL] + sp->sct_item[I_RAD] * 2;
|
||||
pollution = bad_stuff / 10.0 + np->nat_level[NAT_TLEV] + 100.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue