Fixed marketshop not sending empty stocks (#7932)
Fix sold out item removed on sale list of marketshop. Now the item icon still exist in marketshop as gray icon. Fixes #7931
This commit is contained in:
parent
8b6c072ff5
commit
a7f05bf696
@ -2319,11 +2319,6 @@ void clif_npc_market_open(map_session_data *sd, struct npc_data *nd) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Out of stock
|
||||
if( item->qty == 0 ){
|
||||
continue;
|
||||
}
|
||||
|
||||
p->list[count].nameid = client_nameid( item->nameid );
|
||||
p->list[count].type = itemtype( item->nameid );
|
||||
p->list[count].price = item->value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user