- fixed item percentage display on SW's status bar.

Fixes #242
This commit is contained in:
Christoph Oelckers 2020-08-24 20:46:14 +02:00
parent 9bfea796df
commit 6d1e3e77fc

View file

@ -490,7 +490,7 @@ private:
char ds[32]; char ds[32];
INVENTORY_DATAp id = &InventoryData[pp->InventoryNum]; INVENTORY_DATAp id = &InventoryData[pp->InventoryNum];
int x = InventoryBoxX + INVENTORY_PERCENT_XOFF + InventoryXoff; int x = InventoryBoxX + INVENTORY_PERCENT_XOFF + InventoryXoff-1;
int y = InventoryBoxY + INVENTORY_PERCENT_YOFF + InventoryYoff; int y = InventoryBoxY + INVENTORY_PERCENT_YOFF + InventoryYoff;
if (TEST(id->Flags, INVF_COUNT)) if (TEST(id->Flags, INVF_COUNT))