Merge branch 'develop' of github.com:ennorehling/eressea into develop

This commit is contained in:
Enno Rehling 2016-12-31 20:26:06 +01:00
commit 6c5213292c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static double random_move_chance(void) {
static int rule; static int rule;
static int config; static int config;
if (config_changed(&config)) { if (config_changed(&config)) {
rule = config_get_flt("rules.monsters.random_move_percent", MOVE_PERCENT); rule = config_get_int("rules.monsters.random_move_percent", MOVE_PERCENT);
} }
return rule * 0.01; return rule * 0.01;
} }