summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index 319e675a8..78702bedb 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -63733,14 +63733,14 @@ void HP_pc_setridingpeco(struct map_session_data *sd, bool flag) {
}
return;
}
-void HP_pc_setmadogear(struct map_session_data *sd, bool flag) {
+void HP_pc_setmadogear(struct map_session_data *sd, bool flag, enum mado_type mtype) {
int hIndex = 0;
if (HPMHooks.count.HP_pc_setmadogear_pre > 0) {
- void (*preHookFunc) (struct map_session_data **sd, bool *flag);
+ void (*preHookFunc) (struct map_session_data **sd, bool *flag, enum mado_type *mtype);
*HPMforce_return = false;
for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_setmadogear_pre; hIndex++) {
preHookFunc = HPMHooks.list.HP_pc_setmadogear_pre[hIndex].func;
- preHookFunc(&sd, &flag);
+ preHookFunc(&sd, &flag, &mtype);
}
if (*HPMforce_return) {
*HPMforce_return = false;
@@ -63748,13 +63748,13 @@ void HP_pc_setmadogear(struct map_session_data *sd, bool flag) {
}
}
{
- HPMHooks.source.pc.setmadogear(sd, flag);
+ HPMHooks.source.pc.setmadogear(sd, flag, mtype);
}
if (HPMHooks.count.HP_pc_setmadogear_post > 0) {
- void (*postHookFunc) (struct map_session_data *sd, bool flag);
+ void (*postHookFunc) (struct map_session_data *sd, bool flag, enum mado_type mtype);
for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_setmadogear_post; hIndex++) {
postHookFunc = HPMHooks.list.HP_pc_setmadogear_post[hIndex].func;
- postHookFunc(sd, flag);
+ postHookFunc(sd, flag, mtype);
}
}
return;