diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-31 19:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-23 19:41:41 +0300 |
commit | ca5cf26192649c9f6b7944fae718d6ad85f86782 (patch) | |
tree | bebc3fe5f0796831fc8f27d62021994055d41c8a | |
parent | 69a2db70575d4eafb4bc66fbb840ef1404f45df8 (diff) | |
download | hercules-ca5cf26192649c9f6b7944fae718d6ad85f86782.tar.gz hercules-ca5cf26192649c9f6b7944fae718d6ad85f86782.tar.bz2 hercules-ca5cf26192649c9f6b7944fae718d6ad85f86782.tar.xz hercules-ca5cf26192649c9f6b7944fae718d6ad85f86782.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; } |