From d2e9c1a1dbd38df76363bdc10ec69f495ab2aa14 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Mar 2015 19:01:32 +0300 Subject: Allow sell items to market shop. --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/npc.c b/src/map/npc.c index 8114cacaa..f4e4e4018 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2096,7 +2096,7 @@ int npc_selllist(struct map_session_data* sd, int n, unsigned short* item_list) } if( nd->subtype != SHOP ) { - if( !(nd->subtype == SCRIPT && nd->u.scr.shop && nd->u.scr.shop->type == NST_ZENY) ) + if (!(nd->subtype == SCRIPT && nd->u.scr.shop && (nd->u.scr.shop->type == NST_ZENY || nd->u.scr.shop->type == NST_MARKET))) return 1; } -- cgit v1.2.3-70-g09d2