add a configuration option to stop peasant growths, for testing

This commit is contained in:
Enno Rehling 2014-02-15 23:08:11 +01:00
parent 29124b92e2
commit 6ff110ae36
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}