diff options
author | Hercules.ws <dev@herc.ws> | 2018-08-27 01:15:29 +0200 |
---|---|---|
committer | HerculesWSAPI <dev@herc.ws> | 2018-08-27 01:15:29 +0200 |
commit | 5a998ca980198ed73bd2ac543ee31828693a9c51 (patch) | |
tree | 74cb81c726883188331c26b269ce5a04694d9e55 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | |
parent | 5bb417009a0e8d6f0ed05a4007ea0248f7cb4138 (diff) | |
download | hercules-5a998ca980198ed73bd2ac543ee31828693a9c51.tar.gz hercules-5a998ca980198ed73bd2ac543ee31828693a9c51.tar.bz2 hercules-5a998ca980198ed73bd2ac543ee31828693a9c51.tar.xz hercules-5a998ca980198ed73bd2ac543ee31828693a9c51.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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 8ad18f843..5690e0735 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -35538,10 +35538,10 @@ void HP_intif_request_account_storage(const struct map_session_data *sd) { } return; } -void HP_intif_send_account_storage(const struct map_session_data *sd) { +void HP_intif_send_account_storage(struct map_session_data *sd) { int hIndex = 0; if (HPMHooks.count.HP_intif_send_account_storage_pre > 0) { - void (*preHookFunc) (const struct map_session_data **sd); + void (*preHookFunc) (struct map_session_data **sd); *HPMforce_return = false; for (hIndex = 0; hIndex < HPMHooks.count.HP_intif_send_account_storage_pre; hIndex++) { preHookFunc = HPMHooks.list.HP_intif_send_account_storage_pre[hIndex].func; @@ -35556,7 +35556,7 @@ void HP_intif_send_account_storage(const struct map_session_data *sd) { HPMHooks.source.intif.send_account_storage(sd); } if (HPMHooks.count.HP_intif_send_account_storage_post > 0) { - void (*postHookFunc) (const struct map_session_data *sd); + void (*postHookFunc) (struct map_session_data *sd); for (hIndex = 0; hIndex < HPMHooks.count.HP_intif_send_account_storage_post; hIndex++) { postHookFunc = HPMHooks.list.HP_intif_send_account_storage_post[hIndex].func; postHookFunc(sd); |