summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-10 23:35:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-10 23:35:23 +0300
commit293793b7027029efc87c8b657a0c45d26e0840c5 (patch)
treecb41a385a1bd6e3f01704a0ec07549c3d8157c39 /src/map/init.c
parent48f6d35d2c293a17a863bb540e686b1c780b9005 (diff)
downloadplugin-293793b7027029efc87c8b657a0c45d26e0840c5.tar.gz
plugin-293793b7027029efc87c8b657a0c45d26e0840c5.tar.bz2
plugin-293793b7027029efc87c8b657a0c45d26e0840c5.tar.xz
plugin-293793b7027029efc87c8b657a0c45d26e0840c5.zip
map: add support for own job names.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 98623d6..e825346 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -131,6 +131,7 @@ HPExport void plugin_init (void)
addHookPre("pc->can_attack", epc_can_attack);
addHookPre("pc->takeitem", epc_takeitem);
addHookPre("pc->validate_levels", epc_validate_levels);
+ addHookPre("pc->check_job_name", epc_check_job_name);
addHookPre("mob->deleteslave_sub", emob_deleteslave_sub);
addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag);
addHookPre("npc->buysellsel", enpc_buysellsel);