summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
authorHercules.ws <dev@herc.ws>2018-06-18 20:41:34 +0200
committerHerculesWSAPI <dev@herc.ws>2018-06-18 20:41:34 +0200
commit450c2df98e73b096c7b79b35bd1d3b75706e66d9 (patch)
tree712fbcba31c92fdfe07534fea0bea3b7f8463792 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
parent1f6dff9f8938c46292778e972171c523b9846abe (diff)
downloadhercules-450c2df98e73b096c7b79b35bd1d3b75706e66d9.tar.gz
hercules-450c2df98e73b096c7b79b35bd1d3b75706e66d9.tar.bz2
hercules-450c2df98e73b096c7b79b35bd1d3b75706e66d9.tar.xz
hercules-450c2df98e73b096c7b79b35bd1d3b75706e66d9.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.inc6
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 d81042493..02da2a4dd 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -26623,10 +26623,10 @@ void HP_clif_cz_req_style_change_sub(struct map_session_data *sd, int type, int1
}
return;
}
-void HP_clif_style_change_response(struct map_session_data *sd, int8 flag) {
+void HP_clif_style_change_response(struct map_session_data *sd, enum stylist_shop flag) {
int hIndex = 0;
if (HPMHooks.count.HP_clif_style_change_response_pre > 0) {
- void (*preHookFunc) (struct map_session_data **sd, int8 *flag);
+ void (*preHookFunc) (struct map_session_data **sd, enum stylist_shop *flag);
*HPMforce_return = false;
for (hIndex = 0; hIndex < HPMHooks.count.HP_clif_style_change_response_pre; hIndex++) {
preHookFunc = HPMHooks.list.HP_clif_style_change_response_pre[hIndex].func;
@@ -26641,7 +26641,7 @@ void HP_clif_style_change_response(struct map_session_data *sd, int8 flag) {
HPMHooks.source.clif.style_change_response(sd, flag);
}
if (HPMHooks.count.HP_clif_style_change_response_post > 0) {
- void (*postHookFunc) (struct map_session_data *sd, int8 flag);
+ void (*postHookFunc) (struct map_session_data *sd, enum stylist_shop flag);
for (hIndex = 0; hIndex < HPMHooks.count.HP_clif_style_change_response_post; hIndex++) {
postHookFunc = HPMHooks.list.HP_clif_style_change_response_post[hIndex].func;
postHookFunc(sd, flag);