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:
eppc0330
2023-10-03 06:39:29 +09:00
committed by GitHub
parent 8b6c072ff5
commit a7f05bf696

View File

@@ -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;