summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-02-04 13:45:44 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-02-04 13:45:44 +0100
commitc33afc09ad4e62960bd6b18e81bc314c9ce51517 (patch)
treed15c3a4483ffdc067342513b838073b69403b4e6 /src/plugins/HPMHooking
parent32e6f7a197fea9b4d1e6c541256814c2895a6126 (diff)
downloadhercules-c33afc09ad4e62960bd6b18e81bc314c9ce51517.tar.gz
hercules-c33afc09ad4e62960bd6b18e81bc314c9ce51517.tar.bz2
hercules-c33afc09ad4e62960bd6b18e81bc314c9ce51517.tar.xz
hercules-c33afc09ad4e62960bd6b18e81bc314c9ce51517.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/plugins/HPMHooking')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Hooks.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
index c3c6a492f..e2ed78729 100644
--- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
@@ -10445,13 +10445,13 @@ void HP_clif_specialeffect_value(struct block_list *bl, int effect_id, int num,
}
return;
}
-void HP_clif_millenniumshield(struct map_session_data *sd, short shields) {
+void HP_clif_millenniumshield(struct block_list *bl, short shields) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_millenniumshield_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *shields);
+ void (*preHookFunc) (struct block_list *bl, short *shields);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_millenniumshield_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_millenniumshield_pre[hIndex].func;
- preHookFunc(sd, &shields);
+ preHookFunc(bl, &shields);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10459,13 +10459,13 @@ void HP_clif_millenniumshield(struct map_session_data *sd, short shields) {
}
}
{
- HPMHooks.source.clif.millenniumshield(sd, shields);
+ HPMHooks.source.clif.millenniumshield(bl, shields);
}
if( HPMHooks.count.HP_clif_millenniumshield_post ) {
- void (*postHookFunc) (struct map_session_data *sd, short *shields);
+ void (*postHookFunc) (struct block_list *bl, short *shields);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_millenniumshield_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_millenniumshield_post[hIndex].func;
- postHookFunc(sd, &shields);
+ postHookFunc(bl, &shields);
}
}
return;