Missing "%d" when formatting sell prices.

This commit is contained in:
Mari the Deer 2022-05-02 01:30:37 +02:00
commit 88246020a3
2 changed files with 3 additions and 3 deletions

View file

@ -546,7 +546,7 @@ Class DemolitionistMenuStoreItem : DemolitionistMenuListItem
let def = GetDefaultByType(inv);
if ( bSell )
{
pricelabel = String.Format("\cd¥\c-",price);
pricelabel = String.Format("\cd¥%d\c-",price);
int cur = (inv is 'CandyGun')?(players[consoleplayer].mo.CountInv("CandyGunSpares")+1):players[consoleplayer].mo.CountInv(inv);
if ( (cur > 1) || (inv is 'Ammo') ) label = String.Format("%s (%d/%d)",def.GetTag(),amt,cur);
else label = def.GetTag();