diff options
author | shennetsind <ind@henn.et> | 2014-03-18 15:00:16 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-03-18 15:00:16 -0300 |
commit | 7b71f22331c805a406c57f5a8eff93b464b57018 (patch) | |
tree | ed65b87c241aa123d46ed32f13257d487e3dfe71 /src/plugins | |
parent | 4cc9d5f91cf6276e28cc02bb75fc4158d28d553b (diff) | |
parent | 21aeb5aa1d5fee9702aba476a94b800c94b29859 (diff) | |
download | hercules-7b71f22331c805a406c57f5a8eff93b464b57018.tar.gz hercules-7b71f22331c805a406c57f5a8eff93b464b57018.tar.bz2 hercules-7b71f22331c805a406c57f5a8eff93b464b57018.tar.xz hercules-7b71f22331c805a406c57f5a8eff93b464b57018.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/plugins')
-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 78987f81a..396b241b0 100644 --- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc @@ -35401,13 +35401,13 @@ struct mob_data* HP_map_id2boss(int id) { } return retVal___; } -void HP_map_reloadnpc(bool clear) { +void HP_map_reloadnpc(bool clear, const char *const *extra_scripts, int extra_scripts_count) { int hIndex = 0; if( HPMHooks.count.HP_map_reloadnpc_pre ) { - void (*preHookFunc) (bool *clear); + void (*preHookFunc) (bool *clear, const char *const *extra_scripts, 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, &extra_scripts_count); } if( *HPMforce_return ) { *HPMforce_return = false; @@ -35415,13 +35415,13 @@ void HP_map_reloadnpc(bool clear) { } } { - HPMHooks.source.map.reloadnpc(clear); + HPMHooks.source.map.reloadnpc(clear, extra_scripts, extra_scripts_count); } if( HPMHooks.count.HP_map_reloadnpc_post ) { - void (*postHookFunc) (bool *clear); + void (*postHookFunc) (bool *clear, const char *const *extra_scripts, 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, &extra_scripts_count); } } return; |