Skip to content
Permalink
Browse files

Merge pull request #2481 from 4144/fixrefine

Fix reading rates from refine db
  • Loading branch information...
hemagx committed May 22, 2019
2 parents 647a3d2 + 0ab1aa3 commit 1ec85a8305b633f619b60818aca6f580547848bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map/refine.c
@@ -528,7 +528,7 @@ static int refine_readdb_refine_libconfig_sub(struct config_setting_t *r, const
chance[i][j] = 100; // default value for all rates.

struct config_setting_t *t = NULL;
for (int i = 0; (t = libconfig->setting_get_elem(rate, i++)) != NULL && config_setting_is_group(t); ++i) {
for (int i = 0; (t = libconfig->setting_get_elem(rate, i)) != NULL && config_setting_is_group(t); ++i) {
int level = 0, i32;
char *rlvl = config_setting_name(t);
memset(&lv, 0, sizeof(lv));

0 comments on commit 1ec85a8

Please sign in to comment.
You can’t perform that action at this time.