From 37ef4e3e712214a5759562b7d70fe17fdb092b5b 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(-) diff --git a/src/map/npc.c b/src/map/npc.c index 6b55bf5ae..8be44d096 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2167,7 +2167,7 @@ int npc_selllist(struct map_session_data *sd, struct itemlist *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