From 6ff110ae368d0f726ca5339e733442926f9700fd Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 15 Feb 2014 23:08:11 +0100 Subject: [PATCH] add a configuration option to stop peasant growths, for testing --- core/src/gamecode/laws.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/gamecode/laws.c b/core/src/gamecode/laws.c index c2e89b3c4..7259612b3 100755 --- a/core/src/gamecode/laws.c +++ b/core/src/gamecode/laws.c @@ -938,7 +938,9 @@ void demographics(void) * und gewandert sind */ calculate_emigration(r); - peasants(r); + if (get_param_int(global.parameters, "rules.peasants.growth", 1)) { + peasants(r); + } if (r->age > 20) { plagues(r, false); }