forked from github/server
parent
363b1224d1
commit
8033f5d20e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue