diff options
author | Haru <haru@dotalux.com> | 2015-10-11 05:14:15 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-10-11 05:14:59 +0200 |
commit | 2d51cded8d5612b7ecbe171a6ca309e91d14bfd7 (patch) | |
tree | e1c84f244d0b92f4045892464483423423555f87 /src | |
parent | d70d9d4d19f0deae2a2aceb047872611d5047ae0 (diff) | |
download | hercules-2d51cded8d5612b7ecbe171a6ca309e91d14bfd7.tar.gz hercules-2d51cded8d5612b7ecbe171a6ca309e91d14bfd7.tar.bz2 hercules-2d51cded8d5612b7ecbe171a6ca309e91d14bfd7.tar.xz hercules-2d51cded8d5612b7ecbe171a6ca309e91d14bfd7.zip |
Fixed an issue in the quest_db parsing function.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/quest.c | 2 |
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; } |