🚚 Rename 'ItemStruct' to 'Item'

This commit is contained in:
Juliano Leal Goncalves 2021-08-30 01:15:37 -03:00 committed by Anders Jenbo
commit bb2dfdfb73
24 changed files with 202 additions and 202 deletions

View file

@ -585,7 +585,7 @@ Size GetItemSizeOnSlot(int slot, char &itemInvId)
iv = -ii;
}
ItemStruct &item = myPlayer.InvList[iv - 1];
Item &item = myPlayer.InvList[iv - 1];
if (!item.isEmpty()) {
auto size = GetInvItemSize(item._iCurs + CURSOR_FIRSTITEM);
size.width /= InventorySlotSizeInPixels.width;
@ -1467,7 +1467,7 @@ void PerformSpellAction()
void CtrlUseInvItem()
{
ItemStruct *item;
Item *item;
if (pcursinvitem == -1)
return;