diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-07-11 08:53:11 +0200 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-07-11 08:53:11 +0200 |
commit | ed9628528dff9865085106a3edf2e5fa7962625c (patch) | |
tree | f1f155975f02376b001b22f91fa959af3a8f3f62 /src | |
parent | 46aa529396625efebdd637f540e9e104059866b6 (diff) | |
download | hercules-ed9628528dff9865085106a3edf2e5fa7962625c.tar.gz hercules-ed9628528dff9865085106a3edf2e5fa7962625c.tar.bz2 hercules-ed9628528dff9865085106a3edf2e5fa7962625c.tar.xz hercules-ed9628528dff9865085106a3edf2e5fa7962625c.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Hooks.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc index 84f1f6dc9..89379c79d 100644 --- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc @@ -66057,15 +66057,15 @@ void HP_storage_pc_quit(struct map_session_data *sd, int flag) { } return; } -int HP_storage_comp_item(const void *_i1, const void *_i2) { +int HP_storage_comp_item(const void *i1_, const void *i2_) { int hIndex = 0; int retVal___ = 0; if( HPMHooks.count.HP_storage_comp_item_pre ) { - int (*preHookFunc) (const void *_i1, const void *_i2); + int (*preHookFunc) (const void *i1_, const void *i2_); *HPMforce_return = false; for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_comp_item_pre; hIndex++ ) { preHookFunc = HPMHooks.list.HP_storage_comp_item_pre[hIndex].func; - retVal___ = preHookFunc(_i1, _i2); + retVal___ = preHookFunc(i1_, i2_); } if( *HPMforce_return ) { *HPMforce_return = false; @@ -66073,13 +66073,13 @@ int HP_storage_comp_item(const void *_i1, const void *_i2) { } } { - retVal___ = HPMHooks.source.storage.comp_item(_i1, _i2); + retVal___ = HPMHooks.source.storage.comp_item(i1_, i2_); } if( HPMHooks.count.HP_storage_comp_item_post ) { - int (*postHookFunc) (int retVal___, const void *_i1, const void *_i2); + int (*postHookFunc) (int retVal___, const void *i1_, const void *i2_); for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_comp_item_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_storage_comp_item_post[hIndex].func; - retVal___ = postHookFunc(retVal___, _i1, _i2); + retVal___ = postHookFunc(retVal___, i1_, i2_); } } return retVal___; |