From 2d51cded8d5612b7ecbe171a6ca309e91d14bfd7 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 11 Oct 2015 05:14:15 +0200 Subject: Fixed an issue in the quest_db parsing function. Signed-off-by: Haru --- src/map/quest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/quest.c') diff --git a/src/map/quest.c b/src/map/quest.c index fe4014ae5..4958644ee 100644 --- a/src/map/quest.c +++ b/src/map/quest.c @@ -507,7 +507,7 @@ int quest_read_db(void) const char *filename = "quest_db.conf"; sprintf(filepath, "%s/%s", map->db_path, filename); - if (libconfig->read_file(&quest_db_conf, filepath) || !(qdb = libconfig->setting_get_member(quest_db_conf.root, filename))) { + if (libconfig->read_file(&quest_db_conf, filepath) || !(qdb = libconfig->setting_get_member(quest_db_conf.root, "quest_db"))) { ShowError("can't read %s\n", filepath); return -1; } -- cgit v1.2.3-60-g2f50