Browse Source

Draw belt item number for unusable scrolls

pull/2956/head
obligaron 5 years ago committed by Anders Jenbo
parent
commit
24c5ee8bd2
  1. 1
      Source/inv.cpp

1
Source/inv.cpp

@ -1245,7 +1245,6 @@ void DrawInvBelt(const Surface &out)
CelDrawItem(myPlayer.SpdList[i], out, position, cel, celFrame);
if (AllItemsList[myPlayer.SpdList[i].IDidx].iUsable
&& myPlayer.SpdList[i]._iStatFlag
&& myPlayer.SpdList[i]._itype != ItemType::Gold) {
snprintf(tempstr, sizeof(tempstr) / sizeof(*tempstr), "%i", i + 1);
DrawString(out, tempstr, { position - Displacement { 0, 12 }, InventorySlotSizeInPixels }, UiFlags::ColorWhite | UiFlags::AlignRight);

Loading…
Cancel
Save