mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-01 07:09:39 +00:00
[Client] Use correct count for ID_CONTAINER when dropping items
This commit is contained in:
parent
d8a9a5f6c9
commit
e52823394c
1 changed files with 4 additions and 1 deletions
|
@ -173,7 +173,10 @@ namespace MWGui
|
|||
|
||||
mwmp::ContainerItem containerItem;
|
||||
containerItem.refId = itemPtr.getCellRef().getRefId();
|
||||
containerItem.count = itemPtr.getRefData().getCount();
|
||||
|
||||
// Make sure we get the drag and drop count, not the count of the original item
|
||||
containerItem.count = mDragAndDrop->mDraggedCount;
|
||||
|
||||
containerItem.charge = itemPtr.getCellRef().getCharge();
|
||||
containerItem.goldValue = itemPtr.getCellRef().getGoldValue();
|
||||
containerItem.owner = itemPtr.getCellRef().getOwner();
|
||||
|
|
Loading…
Reference in a new issue