summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-11 16:15:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-11 16:15:57 +0300
commit497510b22278aafaa7dedb8a6c705e8cdd35e9db (patch)
tree77996eeb49ee99f5f66e0dbd34419a78f5796cb8 /src/map
parent6c0f05b05e9bf09f40df3e3fe7f768f7435abcec (diff)
parent56297f27e6fa37444d7ddfd5b3ae4348371ee155 (diff)
downloadhercules-497510b22278aafaa7dedb8a6c705e8cdd35e9db.tar.gz
hercules-497510b22278aafaa7dedb8a6c705e8cdd35e9db.tar.bz2
hercules-497510b22278aafaa7dedb8a6c705e8cdd35e9db.tar.xz
hercules-497510b22278aafaa7dedb8a6c705e8cdd35e9db.zip
Merge pull request #788 from MishimaHaruna/libconfig
Libconfig edits for mob_db.conf
Diffstat (limited to 'src/map')
-rw-r--r--src/map/quest.c2
1 files changed, 1 insertions, 1 deletions
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;
}