diff options
Diffstat (limited to 'src/emap/npc.c')
-rw-r--r-- | src/emap/npc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c index 52e36ac..fa09bc6 100644 --- a/src/emap/npc.c +++ b/src/emap/npc.c @@ -77,6 +77,7 @@ int enpc_buysellsel(TBL_PC* sd, int *id, int *type) if (*type == 0 && nd->subtype == SCRIPT && nd->u.scr.shop && nd->u.scr.shop->type == NST_MARKET) { clif->npc_market_open(sd, nd); + sd->npc_shopid = nd->bl.id; hookStop(); return 0; } |