diff options
Diffstat (limited to 'src/emap/npc.c')
-rw-r--r-- | src/emap/npc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c index 0c0c61e..5b6d66a 100644 --- a/src/emap/npc.c +++ b/src/emap/npc.c @@ -104,6 +104,13 @@ int enpc_buysellsel_pre(TBL_PC **sdPtr, hookStop(); return 0; } + else if (nd->u.scr.shop->type == NST_BARTER) + { + clif->npc_barter_open(sd, nd); + sd->npc_shopid = nd->bl.id; + hookStop(); + return 0; + } else if (nd->u.scr.shop->type == NST_CUSTOM) { clif->cashshop_show(sd, nd); |