diff options
author | Haru <haru@dotalux.com> | 2018-01-10 15:28:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 15:28:31 +0100 |
commit | 0080d1e4e6ca38074e4493ea6b05884d9b358519 (patch) | |
tree | 43706f9cf606673c50a2739ca84799eb19f94586 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | |
parent | 544447b1fc71f65d09a90b82d67e31119d5e917b (diff) | |
parent | 58b252b5e34f6077f9b06fe5005b7af98b05940b (diff) | |
download | hercules-0080d1e4e6ca38074e4493ea6b05884d9b358519.tar.gz hercules-0080d1e4e6ca38074e4493ea6b05884d9b358519.tar.bz2 hercules-0080d1e4e6ca38074e4493ea6b05884d9b358519.tar.xz hercules-0080d1e4e6ca38074e4493ea6b05884d9b358519.zip |
Merge pull request #1943 from Asheraf/skill_reproduce
Replace the use of skill_reproduce_db with AllowReproduce flag
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 3e41ae068..3b1281dad 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -72951,33 +72951,6 @@ bool HP_skill_parse_row_magicmushroomdb(char *split[], int column, int current) } return retVal___; } -bool HP_skill_parse_row_reproducedb(char *split[], int column, int current) { - int hIndex = 0; - bool retVal___ = false; - if (HPMHooks.count.HP_skill_parse_row_reproducedb_pre > 0) { - bool (*preHookFunc) (char **split[], int *column, int *current); - *HPMforce_return = false; - for (hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_reproducedb_pre; hIndex++) { - preHookFunc = HPMHooks.list.HP_skill_parse_row_reproducedb_pre[hIndex].func; - retVal___ = preHookFunc(&split, &column, ¤t); - } - if (*HPMforce_return) { - *HPMforce_return = false; - return retVal___; - } - } - { - retVal___ = HPMHooks.source.skill.parse_row_reproducedb(split, column, current); - } - if (HPMHooks.count.HP_skill_parse_row_reproducedb_post > 0) { - bool (*postHookFunc) (bool retVal___, char *split[], int column, int current); - for (hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_reproducedb_post; hIndex++) { - postHookFunc = HPMHooks.list.HP_skill_parse_row_reproducedb_post[hIndex].func; - retVal___ = postHookFunc(retVal___, split, column, current); - } - } - return retVal___; -} bool HP_skill_parse_row_improvisedb(char *split[], int columns, int current) { int hIndex = 0; bool retVal___ = false; |