diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-31 19:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-30 15:14:21 +0300 |
commit | cf2cf89a066952eabcac7ec1035bef9046fd26b7 (patch) | |
tree | 6f4f42c85252bb5f524ea35bb550684ade1ef7e2 | |
parent | be91934950494423961c7f9ca6dbfb42844359c2 (diff) | |
download | hercules-cf2cf89a066952eabcac7ec1035bef9046fd26b7.tar.gz hercules-cf2cf89a066952eabcac7ec1035bef9046fd26b7.tar.bz2 hercules-cf2cf89a066952eabcac7ec1035bef9046fd26b7.tar.xz hercules-cf2cf89a066952eabcac7ec1035bef9046fd26b7.zip |
Allow sell items to market shop.
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 945a84957..99d50bd04 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; } |