summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-20 17:14:29 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-20 17:14:29 +0300
commit22b54b7420404e83932114aae63acd54c06d4991 (patch)
tree30080a4934345e15250cab0ab56f43ff7be1a649 /src/emap/init.c
parent451ee8a3290d79614ce800ea36ebbc3884620b57 (diff)
downloadplugin-22b54b7420404e83932114aae63acd54c06d4991.tar.gz
plugin-22b54b7420404e83932114aae63acd54c06d4991.tar.bz2
plugin-22b54b7420404e83932114aae63acd54c06d4991.tar.xz
plugin-22b54b7420404e83932114aae63acd54c06d4991.zip
Copy child adoption functions to plugin and remove job and rings checks.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 021fcf2..906b4b3 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -171,6 +171,8 @@ HPExport void plugin_init (void)
addHookPre("atcommand->msgsd", eatcommand_msgsd);
addHookPre("bg->team_warp", ebg_team_warp);
+ addHookPre("pc->can_Adopt", epc_can_Adopt_pre);
+ addHookPre("pc->adoption", epc_adoption_pre);
addHookPre("pc->readparam", epc_readparam_pre);
addHookPre("pc->setregistry", epc_setregistry);
addHookPre("pc->equipitem_pos", epc_equipitem_pos);