From 44652bae80295744f4cc7cf87bb09e711c43d3d4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 23 Dec 2016 23:58:24 +0100 Subject: [PATCH] fix flt/int compilation bug. --- src/monsters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monsters.c b/src/monsters.c index f1064b7fe..db34bff2c 100644 --- a/src/monsters.c +++ b/src/monsters.c @@ -88,7 +88,7 @@ static double random_move_chance(void) { static int rule; static int 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; }