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 8e96329881
commit adde06980d
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); 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) int peasant_luck_effect(int peasants, int luck, int maxp, double variance)
{ {