summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc8
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc2
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc54
3 files changed, 0 insertions, 64 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
index 81e0c1c2d..6e982bb70 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
@@ -3521,10 +3521,6 @@ struct {
struct HPMHookPoint *HP_pc_get_dummy_sd_post;
struct HPMHookPoint *HP_pc_class2idx_pre;
struct HPMHookPoint *HP_pc_class2idx_post;
- struct HPMHookPoint *HP_pc_can_give_items_pre;
- struct HPMHookPoint *HP_pc_can_give_items_post;
- struct HPMHookPoint *HP_pc_can_give_bound_items_pre;
- struct HPMHookPoint *HP_pc_can_give_bound_items_post;
struct HPMHookPoint *HP_pc_can_talk_pre;
struct HPMHookPoint *HP_pc_can_talk_post;
struct HPMHookPoint *HP_pc_can_attack_pre;
@@ -8584,10 +8580,6 @@ struct {
int HP_pc_get_dummy_sd_post;
int HP_pc_class2idx_pre;
int HP_pc_class2idx_post;
- int HP_pc_can_give_items_pre;
- int HP_pc_can_give_items_post;
- int HP_pc_can_give_bound_items_pre;
- int HP_pc_can_give_bound_items_post;
int HP_pc_can_talk_pre;
int HP_pc_can_talk_post;
int HP_pc_can_attack_pre;
diff --git a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
index 5fa0bff3f..00bd82f94 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
@@ -1791,8 +1791,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(pc->final, HP_pc_final) },
{ HP_POP(pc->get_dummy_sd, HP_pc_get_dummy_sd) },
{ HP_POP(pc->class2idx, HP_pc_class2idx) },
- { HP_POP(pc->can_give_items, HP_pc_can_give_items) },
- { HP_POP(pc->can_give_bound_items, HP_pc_can_give_bound_items) },
{ HP_POP(pc->can_talk, HP_pc_can_talk) },
{ HP_POP(pc->can_attack, HP_pc_can_attack) },
{ HP_POP(pc->can_use_command, HP_pc_can_use_command) },
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index 9b518d097..102c486d9 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -47094,60 +47094,6 @@ int HP_pc_class2idx(int class_) {
}
return retVal___;
}
-bool HP_pc_can_give_items(struct map_session_data *sd) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_pc_can_give_items_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_give_items_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_pc_can_give_items_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.pc.can_give_items(sd);
- }
- if( HPMHooks.count.HP_pc_can_give_items_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_give_items_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_pc_can_give_items_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd);
- }
- }
- return retVal___;
-}
-bool HP_pc_can_give_bound_items(struct map_session_data *sd) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_pc_can_give_bound_items_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_give_bound_items_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_pc_can_give_bound_items_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.pc.can_give_bound_items(sd);
- }
- if( HPMHooks.count.HP_pc_can_give_bound_items_post ) {
- bool (*postHookFunc) (bool retVal___, struct map_session_data *sd);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_give_bound_items_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_pc_can_give_bound_items_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd);
- }
- }
- return retVal___;
-}
bool HP_pc_can_talk(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;