Do some pyramid bag

This commit is contained in:
DizzyEggg
2018-08-30 15:01:07 +02:00
parent 8e5c72766c
commit bc9fe72c6e
11 changed files with 1075 additions and 3204 deletions

View File

@@ -752,9 +752,8 @@ u16 BagGetQuantityByPocketPosition(u8 pocketId, u16 pocketPos)
static void SwapItemSlots(struct ItemSlot *a, struct ItemSlot *b)
{
struct ItemSlot temp = *a;
*a = *b;
*b = temp;
struct ItemSlot temp;
SWAP(*a, *b, temp);
}
void CompactItemsInBagPocket(struct BagPocket *bagPocket)