diff options
author | Haru <haru@dotalux.com> | 2015-10-20 12:31:00 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-10-20 12:31:00 +0200 |
commit | dea96bda4ba64b7bec3738bd5ab93ee435caa717 (patch) | |
tree | 07ceb92b862d83c9ed09aac10510f996e99093f8 /src/map/mob.h | |
parent | 8547f799e5c395edf2f4e838889b7006e4320820 (diff) | |
download | hercules-dea96bda4ba64b7bec3738bd5ab93ee435caa717.tar.gz hercules-dea96bda4ba64b7bec3738bd5ab93ee435caa717.tar.bz2 hercules-dea96bda4ba64b7bec3738bd5ab93ee435caa717.tar.xz hercules-dea96bda4ba64b7bec3738bd5ab93ee435caa717.zip |
Fixed an issue preventing the mob_db2 from being loaded
Follow-up to 3feef93 (thanks to kyeme)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index c20453cde..cc81c2fc3 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -366,7 +366,7 @@ struct mob_interface { void (*readdb) (void); bool (*lookup_const) (const config_setting_t *it, const char *name, int *value); bool (*get_const) (const config_setting_t *it, int *value); - int (*read_libconfig) (const char *filename); + int (*read_libconfig) (const char *filename, bool ignore_missing); void (*read_db_additional_fields) (struct mob_db *entry, int class_, config_setting_t *it, int n, const char *source); bool (*read_db_sub) (config_setting_t *mobt, int id, const char *source); void (*read_db_drops_sub) (struct mob_db *entry, struct status_data *mstatus, int class_, config_setting_t *t); |