(setsector): Limit fertility to 100 instead of 120, like the other

resources
This commit is contained in:
Ron Koenderink 2007-11-23 13:24:18 +00:00
parent 836833e321
commit 8e430ae2e3

View file

@ -298,8 +298,8 @@ setsector(void)
current += amt;
if (current < 0)
current = 0;
if (current > 120)
current = 120;
if (current > 100)
current = 100;
if (sect.sct_own != 0)
resnoise(&sect, 1, "Fertility content",
(int)sect.sct_fertil, current);