# HG changeset patch # User Grumpy7 # Date 1373847279 -7200 # Node ID 9014784ae84fb230a9a0c3ba88862eb6e2f209ff # Parent fd661c9e7f97684074074f8e59f9331a550e5e1c Fixing an ancient bug in sub_421B2C_PlaceInInventory_or_DropPickedItem diff -r fd661c9e7f97 -r 9014784ae84f Party.cpp --- a/Party.cpp Mon Jul 15 00:57:06 2013 +0200 +++ b/Party.cpp Mon Jul 15 02:14:39 2013 +0200 @@ -1460,7 +1460,7 @@ v4 = v3->AddItem(-1, pParty->pPickedItem.uItemID); if ( v4 ) { - memcpy(&pParty->pPlayers[v12].pInventoryItems[v4], &pParty->pPickedItem, 0x24u); + memcpy(&pParty->pPlayers[v12].pInventoryItems[v4 - 1], &pParty->pPickedItem, 0x24u); pMouse->RemoveHoldingItem(); break; }