summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-19 01:00:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-19 17:37:00 +0300
commit7910c013eeda513e26711c61a650d23a581b9f28 (patch)
tree743e691c364508786b27cede22cb2a455204ed9c /src/emap/init.c
parent2cfa1a8f0f8bb224654126eb08b67566ee4bc721 (diff)
downloadevol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.tar.gz
evol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.tar.bz2
evol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.tar.xz
evol-hercules-7910c013eeda513e26711c61a650d23a581b9f28.zip
Allow full npc copy in instances.
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 3a586dd..88a6be9 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -205,6 +205,8 @@ HPExport void plugin_init (void)
addHookPre(npc, parse_unknown_mapflag, enpc_parse_unknown_mapflag_pre);
addHookPre(npc, buysellsel, enpc_buysellsel_pre);
addHookPre(npc, db_checkid, enpc_db_checkid_pre);
+ addHookPre(npc, duplicate_script_sub, enpc_duplicate_script_sub_pre);
+ addHookPre(npc, unload, enpc_unload_pre);
addHookPre(clif, quest_send_list, eclif_quest_send_list_pre);
addHookPre(clif, quest_add, eclif_quest_add_pre);
addHookPre(clif, charnameack, eclif_charnameack_pre);