diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-31 19:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-14 19:19:44 +0300 |
commit | 554e45fa7a7a76eafc0a16d8ce4d682925d860f1 (patch) | |
tree | 6e14c65be66640430cd53e01b21930e8347fe289 | |
parent | df2e519d0fafe8166d8c7f2af8db30cc0d21779b (diff) | |
download | hercules-554e45fa7a7a76eafc0a16d8ce4d682925d860f1.tar.gz hercules-554e45fa7a7a76eafc0a16d8ce4d682925d860f1.tar.bz2 hercules-554e45fa7a7a76eafc0a16d8ce4d682925d860f1.tar.xz hercules-554e45fa7a7a76eafc0a16d8ce4d682925d860f1.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 2b1a541d8..a5c9466c7 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2121,7 +2121,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; } |