diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-20 17:14:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-20 17:14:29 +0300 |
commit | 22b54b7420404e83932114aae63acd54c06d4991 (patch) | |
tree | 30080a4934345e15250cab0ab56f43ff7be1a649 /src/emap/init.c | |
parent | 451ee8a3290d79614ce800ea36ebbc3884620b57 (diff) | |
download | evol-hercules-22b54b7420404e83932114aae63acd54c06d4991.tar.gz evol-hercules-22b54b7420404e83932114aae63acd54c06d4991.tar.bz2 evol-hercules-22b54b7420404e83932114aae63acd54c06d4991.tar.xz evol-hercules-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.c | 2 |
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); |