diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-23 00:16:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-23 00:16:51 +0300 |
commit | ab9362782312ad81ef1c1d47dcac464607a710a2 (patch) | |
tree | c0ae55743e75a614718f3dd8fef1df7e23644336 /src/map/init.c | |
parent | 1b827f192497a2b57150df9f56d0fa82df890b0b (diff) | |
download | plugin-ab9362782312ad81ef1c1d47dcac464607a710a2.tar.gz plugin-ab9362782312ad81ef1c1d47dcac464607a710a2.tar.bz2 plugin-ab9362782312ad81ef1c1d47dcac464607a710a2.tar.xz plugin-ab9362782312ad81ef1c1d47dcac464607a710a2.zip |
map: if got buy command for market npc, show market instead of buy shop.
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 6a025a8..2757aeb 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -104,6 +104,7 @@ HPExport void plugin_init (void) addHookPre("pc->unequipitem_pos", epc_unequipitem_pos); addHookPre("pc->can_attack", epc_can_attack); addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag); + addHookPre("npc->buysellsel", enpc_buysellsel); addHookPre("clif->quest_send_list", eclif_quest_send_list); addHookPre("clif->quest_add", eclif_quest_add); addHookPre("clif->charnameack", eclif_charnameack); |