diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-31 19:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-25 00:03:13 +0300 |
commit | 37ef4e3e712214a5759562b7d70fe17fdb092b5b (patch) | |
tree | 8e26568c74b3cd8f3edeb725c023a6809d799b1f | |
parent | 4625d66090a0954cb7904bddc96bd537b5ecee0a (diff) | |
download | hercules-37ef4e3e712214a5759562b7d70fe17fdb092b5b.tar.gz hercules-37ef4e3e712214a5759562b7d70fe17fdb092b5b.tar.bz2 hercules-37ef4e3e712214a5759562b7d70fe17fdb092b5b.tar.xz hercules-37ef4e3e712214a5759562b7d70fe17fdb092b5b.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 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; } |