(setsector): Limit fertility to 100 instead of 120, like the other
resources
This commit is contained in:
parent
836833e321
commit
8e430ae2e3
1 changed files with 2 additions and 2 deletions
|
@ -298,8 +298,8 @@ setsector(void)
|
||||||
current += amt;
|
current += amt;
|
||||||
if (current < 0)
|
if (current < 0)
|
||||||
current = 0;
|
current = 0;
|
||||||
if (current > 120)
|
if (current > 100)
|
||||||
current = 120;
|
current = 100;
|
||||||
if (sect.sct_own != 0)
|
if (sect.sct_own != 0)
|
||||||
resnoise(§, 1, "Fertility content",
|
resnoise(§, 1, "Fertility content",
|
||||||
(int)sect.sct_fertil, current);
|
(int)sect.sct_fertil, current);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue