summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-03-16 23:23:21 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-03-16 23:23:21 +0100
commitd117462c3921a4f7a5eaa3c1760d774e81ff8fba (patch)
tree6bf2ae20954708ad228e1825236812c27672e7d7 /src/plugins/HPMHooking
parent0e58529609ae84540ca340193abf9ca1e8166b72 (diff)
downloadhercules-d117462c3921a4f7a5eaa3c1760d774e81ff8fba.tar.gz
hercules-d117462c3921a4f7a5eaa3c1760d774e81ff8fba.tar.bz2
hercules-d117462c3921a4f7a5eaa3c1760d774e81ff8fba.tar.xz
hercules-d117462c3921a4f7a5eaa3c1760d774e81ff8fba.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.inc13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
index 78987f81a..b2fbb9518 100644
--- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
@@ -35401,13 +35401,14 @@ struct mob_data* HP_map_id2boss(int id) {
}
return retVal___;
}
-void HP_map_reloadnpc(bool clear) {
+void HP_map_reloadnpc(bool clear, , int extra_scripts_count) {
+/* Error: Unhandled var type 'char *const *extra_scripts' */
int hIndex = 0;
if( HPMHooks.count.HP_map_reloadnpc_pre ) {
- void (*preHookFunc) (bool *clear);
+ void (*preHookFunc) (bool *clear, , int *extra_scripts_count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_reloadnpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_reloadnpc_pre[hIndex].func;
- preHookFunc(&clear);
+ preHookFunc(&clear, , &extra_scripts_count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35415,13 +35416,13 @@ void HP_map_reloadnpc(bool clear) {
}
}
{
- HPMHooks.source.map.reloadnpc(clear);
+ HPMHooks.source.map.reloadnpc(clear, , extra_scripts_count);
}
if( HPMHooks.count.HP_map_reloadnpc_post ) {
- void (*postHookFunc) (bool *clear);
+ void (*postHookFunc) (bool *clear, , int *extra_scripts_count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_reloadnpc_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_map_reloadnpc_post[hIndex].func;
- postHookFunc(&clear);
+ postHookFunc(&clear, , &extra_scripts_count);
}
}
return;