summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2013-12-08 17:08:57 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2013-12-08 17:08:57 +0100
commit3e90bda07068e8662a7fcaf8b1a4e82bbdf0fd4d (patch)
tree7990adfc880738493a85731dee72bccb5b83d2f4 /src/plugins/HPMHooking
parent0191e8c774f2675a32b16cdc1ac2be1c61ca252d (diff)
downloadhercules-3e90bda07068e8662a7fcaf8b1a4e82bbdf0fd4d.tar.gz
hercules-3e90bda07068e8662a7fcaf8b1a4e82bbdf0fd4d.tar.bz2
hercules-3e90bda07068e8662a7fcaf8b1a4e82bbdf0fd4d.tar.xz
hercules-3e90bda07068e8662a7fcaf8b1a4e82bbdf0fd4d.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 4ba06eba4..f920d096f 100644
--- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
@@ -45430,14 +45430,14 @@ int HP_pc_clean_skilltree(struct map_session_data *sd) {
}
return retVal___;
}
-int HP_pc_setpos(struct map_session_data *sd, unsigned short mapindex, int x, int y, clr_type clrtype) {
+int HP_pc_setpos(struct map_session_data *sd, unsigned short map_index, int x, int y, clr_type clrtype) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setpos_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, unsigned short *mapindex, int *x, int *y, clr_type *clrtype);
+ int (*preHookFunc) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setpos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setpos_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &mapindex, &x, &y, &clrtype);
+ retVal___ = preHookFunc(sd, &map_index, &x, &y, &clrtype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45445,13 +45445,13 @@ int HP_pc_setpos(struct map_session_data *sd, unsigned short mapindex, int x, in
}
}
{
- retVal___ = HPMHooks.source.pc.setpos(sd, mapindex, x, y, clrtype);
+ retVal___ = HPMHooks.source.pc.setpos(sd, map_index, x, y, clrtype);
}
if( HPMHooks.count.HP_pc_setpos_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, unsigned short *mapindex, int *x, int *y, clr_type *clrtype);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setpos_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_setpos_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, &mapindex, &x, &y, &clrtype);
+ retVal___ = postHookFunc(retVal___, sd, &map_index, &x, &y, &clrtype);
}
}
return retVal___;