mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:39:42 +00:00
[Client] Keep extra item data when adding items to player via Take All
This commit is contained in:
parent
509f03ca52
commit
001d63b59b
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ void ObjectList::editContainers(MWWorld::CellStore* cellStore)
|
|||
{
|
||||
MWWorld::Ptr ptrPlayer = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||
MWWorld::ContainerStore &playerStore = ptrPlayer.getClass().getContainerStore(ptrPlayer);
|
||||
*playerStore.add(containerItem.refId, containerItem.actionCount, ptrPlayer);
|
||||
*playerStore.add(itemPtr, containerItem.actionCount, ownerPtr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue