From 3fcee8ddd11c35e1939ddd21163a5467b3869462 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sat, 24 Nov 2007 02:08:19 +0000 Subject: [PATCH] (set_fert): Limit fertility to 100 instead of 120, like the other resources --- src/util/fairland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/fairland.c b/src/util/fairland.c index 794818006..db412e547 100644 --- a/src/util/fairland.c +++ b/src/util/fairland.c @@ -1003,9 +1003,9 @@ set_fert(int e) if (e < LANDMIN) fert = LANDMIN - e + 40; else if (e < FERT_MAX) - fert = (140 * (FERT_MAX - e)) / (FERT_MAX - LANDMIN); - if (fert > 120) - fert = 120; + fert = (120 * (FERT_MAX - e)) / (FERT_MAX - LANDMIN); + if (fert > 100) + fert = 100; return fert; } -- 2.43.0