summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 13:32:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-12 22:49:16 +0300
commitd4345a95adf365bd224061c190e0ccf85cf3c029 (patch)
treedad2bf0c12e449349c48fc2843783afbf2a671e7
parentd08d502d325b8dfbd344ab5a657216112beb9944 (diff)
downloadhercules-d4345a95adf365bd224061c190e0ccf85cf3c029.tar.gz
hercules-d4345a95adf365bd224061c190e0ccf85cf3c029.tar.bz2
hercules-d4345a95adf365bd224061c190e0ccf85cf3c029.tar.xz
hercules-d4345a95adf365bd224061c190e0ccf85cf3c029.zip
Update HPM hooks.
-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 349e11155..28108eea6 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -63811,14 +63811,14 @@ void HP_skill_timerskill_target_unknown(int tid, int64 tick, struct block_list *
}
return;
}
-void HP_skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl) {
+void HP_skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_timerskill_notarget_unknown_pre ) {
- void (*preHookFunc) (int *tid, int64 *tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*preHookFunc) (int *tid, int64 *tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_notarget_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_timerskill_notarget_unknown_pre[hIndex].func;
- preHookFunc(&tid, &tick, src, target, ud, skl);
+ preHookFunc(&tid, &tick, src, ud, skl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63826,13 +63826,13 @@ void HP_skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list
}
}
{
- HPMHooks.source.skill.timerskill_notarget_unknown(tid, tick, src, target, ud, skl);
+ HPMHooks.source.skill.timerskill_notarget_unknown(tid, tick, src, ud, skl);
}
if( HPMHooks.count.HP_skill_timerskill_notarget_unknown_post ) {
- void (*postHookFunc) (int *tid, int64 *tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*postHookFunc) (int *tid, int64 *tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_notarget_unknown_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_skill_timerskill_notarget_unknown_post[hIndex].func;
- postHookFunc(&tid, &tick, src, target, ud, skl);
+ postHookFunc(&tid, &tick, src, ud, skl);
}
}
return;