diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-24 23:46:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-24 23:46:35 +0300 |
commit | 7942a5a3d653589631850b6560e04503bf304175 (patch) | |
tree | 0e025006ecba4b179bddb6cb64bbe976b2331264 /src/map/init.c | |
parent | 083278009ab0d94d305754c14c7372b61f410931 (diff) | |
download | evol-hercules-7942a5a3d653589631850b6560e04503bf304175.tar.gz evol-hercules-7942a5a3d653589631850b6560e04503bf304175.tar.bz2 evol-hercules-7942a5a3d653589631850b6560e04503bf304175.tar.xz evol-hercules-7942a5a3d653589631850b6560e04503bf304175.zip |
Impliment AllowPickup item_db.conf option.
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index 2757aeb..94e57b0 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -103,6 +103,7 @@ HPExport void plugin_init (void) addHookPre("pc->equipitem_pos", epc_equipitem_pos); addHookPre("pc->unequipitem_pos", epc_unequipitem_pos); addHookPre("pc->can_attack", epc_can_attack); + addHookPre("pc->takeitem", epc_takeitem); addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag); addHookPre("npc->buysellsel", enpc_buysellsel); addHookPre("clif->quest_send_list", eclif_quest_send_list); |