diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-31 19:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-06 00:22:47 +0300 |
commit | 29fa84f436528acf9ce4299ea86917663ffd0207 (patch) | |
tree | 8dde91d97f16892433b2e3aedc1e225e34779c29 | |
parent | 6437c36105b8c107b178a914961485833c68032b (diff) | |
download | hercules-29fa84f436528acf9ce4299ea86917663ffd0207.tar.gz hercules-29fa84f436528acf9ce4299ea86917663ffd0207.tar.bz2 hercules-29fa84f436528acf9ce4299ea86917663ffd0207.tar.xz hercules-29fa84f436528acf9ce4299ea86917663ffd0207.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; } |