summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emap/init.c1
-rw-r--r--src/emap/pc.c5
-rw-r--r--src/emap/pc.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 6ad2d72..5e20938 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -236,6 +236,7 @@ HPExport void plugin_init (void)
addHookPre(pc, process_chat_message, epc_process_chat_message_pre);
addHookPre(pc, calc_skilltree_clear, epc_calc_skilltree_clear_pre);
addHookPre(pc, calc_skilltree_bonus, epc_calc_skilltree_bonus_pre);
+ addHookPre(pc, checkbaselevelup_sc, epc_checkbaselevelup_sc_pre);
addHookPre(mob, deleteslave_sub, emob_deleteslave_sub_pre);
addHookPre(mob, read_db_additional_fields, emob_read_db_additional_fields_pre);
addHookPre(mob, dead, emob_dead_pre);
diff --git a/src/emap/pc.c b/src/emap/pc.c
index 91d911f..dcd1604 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -1047,3 +1047,8 @@ void epc_calc_skilltree_bonus_pre(struct map_session_data **sdPtr __attribute__
{
hookStop();
}
+
+void epc_checkbaselevelup_sc_pre(struct map_session_data **sdPtr __attribute__ ((unused)))
+{
+ hookStop();
+}
diff --git a/src/emap/pc.h b/src/emap/pc.h
index 29bc0b1..a1c8e74 100644
--- a/src/emap/pc.h
+++ b/src/emap/pc.h
@@ -134,4 +134,6 @@ void epc_calc_skilltree_clear_pre(struct map_session_data **sdPtr);
void epc_calc_skilltree_bonus_pre(struct map_session_data **sdPtr,
int *classidxPtr);
+void epc_checkbaselevelup_sc_pre(struct map_session_data **sdPtr);
+
#endif // EVOL_MAP_PC