diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-23 21:38:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-23 21:38:21 +0300 |
commit | 3c0e3838f77a62a69130d7b2674e21e2133a7f83 (patch) | |
tree | 6f3ff1583e69e5ded625af59a78cbd5568acef51 /src/emap/npc.c | |
parent | 637fcbc9c0f4b042b38f9e900d08aee521305991 (diff) | |
download | evol-hercules-3c0e3838f77a62a69130d7b2674e21e2133a7f83.tar.gz evol-hercules-3c0e3838f77a62a69130d7b2674e21e2133a7f83.tar.bz2 evol-hercules-3c0e3838f77a62a69130d7b2674e21e2133a7f83.tar.xz evol-hercules-3c0e3838f77a62a69130d7b2674e21e2133a7f83.zip |
Update from herculess20190211
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); |