Bauernwachstum aufrunden

https://bugs.eressea.de/view.php?id=2762
This commit is contained in:
Enno Rehling 2021-06-23 19:19:28 +02:00
parent 363b1224d1
commit 8033f5d20e
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ static double peasant_luck_factor(void)
return config_get_flt("rules.peasants.peasantluck.factor", PEASANTLUCK);
}
#define ROUND_BIRTHS(growth) ((int)growth)
#define ROUND_BIRTHS(growth) (int)ceil(growth)
int peasant_luck_effect(int peasants, int luck, int maxp, double variance)
{