diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-27 19:29:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-27 19:29:11 +0300 |
commit | 18757579b1a95e7fdeeaded9e0980ea9b9b65aa2 (patch) | |
tree | 3cde5e6f79c1047ff50a504f91719d69ba40ddc1 /src/emap/init.c | |
parent | 7cbf9606d7da6e452893e446a4099b92dc8bf32e (diff) | |
download | evol-hercules-18757579b1a95e7fdeeaded9e0980ea9b9b65aa2.tar.gz evol-hercules-18757579b1a95e7fdeeaded9e0980ea9b9b65aa2.tar.bz2 evol-hercules-18757579b1a95e7fdeeaded9e0980ea9b9b65aa2.tar.xz evol-hercules-18757579b1a95e7fdeeaded9e0980ea9b9b65aa2.zip |
map: duplicate npc view data for each new npc.
This allow use full npc copies in instances.
For duplicate npc untested.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index fb9da26..a355e2b 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -270,6 +270,7 @@ HPExport void plugin_init (void) addHookPost(status, calc_speed, estatus_calc_speed_post); addHookPost(map, addflooritem, emap_addflooritem_post); addHookPost(mob, read_db_mode_sub, emob_read_db_mode_sub_post); + addHookPost(npc, get_viewdata, enpc_get_viewdata_post); addHookPost(skill, check_condition_castend, eskill_check_condition_castend_post); addHookPost(pc, additem, epc_additem_post); addHookPost(pc, isequip, epc_isequip_post); |