Mercurial > mm7
changeset 1364:9014784ae84f
Fixing an ancient bug in sub_421B2C_PlaceInInventory_or_DropPickedItem
author | Grumpy7 |
---|---|
date | Mon, 15 Jul 2013 02:14:39 +0200 |
parents | fd661c9e7f97 |
children | b691c96d8e06 |
files | Party.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }