Browse Source

Clean up BubbleSwapItem

pull/88/head
Anders Jenbo 7 years ago
parent
commit
3da0da2e25
  1. 8
      Source/items.cpp

8
Source/items.cpp

@ -4133,11 +4133,11 @@ int RndSmithItem(int lvl)
void BubbleSwapItem(ItemStruct *a, ItemStruct *b)
{
ItemStruct h; // [esp+8h] [ebp-170h]
ItemStruct h;
qmemcpy(&h, a, sizeof(h));
qmemcpy(a, b, sizeof(ItemStruct));
qmemcpy(b, &h, sizeof(ItemStruct));
h = *a;
*a = *b;
*b = h;
}
void SortSmith()

Loading…
Cancel
Save