diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-18 22:05:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-18 22:05:21 +0300 |
commit | 97d6d72723f0ff3ba89025261cf1174615fdc80d (patch) | |
tree | da815d70e3cb5e513e9d7ab40a6444abd5b61068 /src/emap/mob.c | |
parent | 388961002f81f1e8ddd5343c54d510af0ad5bdc6 (diff) | |
download | evol-hercules-97d6d72723f0ff3ba89025261cf1174615fdc80d.tar.gz evol-hercules-97d6d72723f0ff3ba89025261cf1174615fdc80d.tar.bz2 evol-hercules-97d6d72723f0ff3ba89025261cf1174615fdc80d.tar.xz evol-hercules-97d6d72723f0ff3ba89025261cf1174615fdc80d.zip |
Update for support latest hercules.
Diffstat (limited to 'src/emap/mob.c')
-rw-r--r-- | src/emap/mob.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/emap/mob.c b/src/emap/mob.c index 44ffe6f..48bfdb1 100644 --- a/src/emap/mob.c +++ b/src/emap/mob.c @@ -7,6 +7,7 @@ #include <stdlib.h> #include <string.h> +#include "common/conf.h" #include "common/HPMi.h" #include "common/memmgr.h" #include "common/mmo.h" @@ -53,7 +54,7 @@ int emob_deleteslave_sub(struct block_list *bl, va_list ap) } void emob_read_db_additional_fields(struct mob_db *entry, - config_setting_t *it, + struct config_setting_t *it, int *nPtr, const char *source) { @@ -72,9 +73,9 @@ void emob_read_db_additional_fields(struct mob_db *entry, int emob_read_db_mode_sub_post(int retVal, struct mob_db *entry, - config_setting_t *t) + struct config_setting_t *t) { - config_setting_t *t2; + struct config_setting_t *t2; if ((t2 = libconfig->setting_get_member(t, "SurviveWithoutMaster"))) retVal |= libconfig->setting_get_bool(t2) ? 0x8000 : 0; |