diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-31 19:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-19 21:38:14 +0300 |
commit | c5e18dae832240f1e6046ea35266d691e9009f5f (patch) | |
tree | 2a1fcc4d8a6e6829fe56f0a3fe581309a0a7e9a2 | |
parent | 51d272c3c1f8e8d1f891c7511073a93c686fe00e (diff) | |
download | hercules-c5e18dae832240f1e6046ea35266d691e9009f5f.tar.gz hercules-c5e18dae832240f1e6046ea35266d691e9009f5f.tar.bz2 hercules-c5e18dae832240f1e6046ea35266d691e9009f5f.tar.xz hercules-c5e18dae832240f1e6046ea35266d691e9009f5f.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; } |