diff options
author | Hercules.ws <dev@herc.ws> | 2020-05-03 22:54:07 +0200 |
---|---|---|
committer | HerculesWSAPI <dev@herc.ws> | 2020-05-03 22:54:07 +0200 |
commit | 49018459685aab41de305be38f92cb0d848dd115 (patch) | |
tree | 9cea400d6946798cf79e8b75c59a3d5e157469a8 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | |
parent | 24f518fa590066e6a303cfacccbe7c748b6dbdae (diff) | |
download | hercules-49018459685aab41de305be38f92cb0d848dd115.tar.gz hercules-49018459685aab41de305be38f92cb0d848dd115.tar.bz2 hercules-49018459685aab41de305be38f92cb0d848dd115.tar.xz hercules-49018459685aab41de305be38f92cb0d848dd115.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <dev@herc.ws>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 34bcf3f8f..64b23abc7 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -53703,11 +53703,11 @@ int HP_mob_getfriendstatus_sub(struct block_list *bl, va_list ap) { } return retVal___; } -struct block_list *HP_mob_getfriendstatus(struct mob_data *md, int cond1, int cond2) { +struct block_list* HP_mob_getfriendstatus(struct mob_data *md, int cond1, int cond2) { int hIndex = 0; - struct block_list *retVal___ = NULL; + struct block_list* retVal___ = NULL; if (HPMHooks.count.HP_mob_getfriendstatus_pre > 0) { - struct block_list *(*preHookFunc) (struct mob_data **md, int *cond1, int *cond2); + struct block_list* (*preHookFunc) (struct mob_data **md, int *cond1, int *cond2); *HPMforce_return = false; for (hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendstatus_pre; hIndex++) { preHookFunc = HPMHooks.list.HP_mob_getfriendstatus_pre[hIndex].func; @@ -53722,7 +53722,7 @@ struct block_list *HP_mob_getfriendstatus(struct mob_data *md, int cond1, int co retVal___ = HPMHooks.source.mob.getfriendstatus(md, cond1, cond2); } if (HPMHooks.count.HP_mob_getfriendstatus_post > 0) { - struct block_list *(*postHookFunc) (struct block_list *retVal___, struct mob_data *md, int cond1, int cond2); + struct block_list* (*postHookFunc) (struct block_list* retVal___, struct mob_data *md, int cond1, int cond2); for (hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendstatus_post; hIndex++) { postHookFunc = HPMHooks.list.HP_mob_getfriendstatus_post[hIndex].func; retVal___ = postHookFunc(retVal___, md, cond1, cond2); |