diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-02 22:30:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-02 22:30:10 +0300 |
commit | 9bc41f3285ebd0c83243b2f207ff6d6b08ddf5f6 (patch) | |
tree | 739985dbb4bf561eb1a3e7e25ab8dfe2eba30531 /src/map/init.c | |
parent | 402cbb4310059bc37ffc2825b83a1659200bf12c (diff) | |
download | plugin-9bc41f3285ebd0c83243b2f207ff6d6b08ddf5f6.tar.gz plugin-9bc41f3285ebd0c83243b2f207ff6d6b08ddf5f6.tar.bz2 plugin-9bc41f3285ebd0c83243b2f207ff6d6b08ddf5f6.tar.xz plugin-9bc41f3285ebd0c83243b2f207ff6d6b08ddf5f6.zip |
map: check required item attributes also on use item.
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/init.c b/src/map/init.c index 4ea0622..ffb6033 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -156,7 +156,8 @@ HPExport void plugin_init (void) addHookPost("clif->move", eclif_move); addHookPost("map->addflooritem", emap_addflooritem_post); addHookPost("skill->check_condition_castend", eskill_check_condition_castend_post); - addHookPost("pc->isequip", epc_isequip_post); + addHookPost("pc->isequip", epc_isuseequip_post); + addHookPost("pc->isUseitem", epc_isuseequip_post); langScriptId = script->add_str("Lang"); } |