mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
[Client] Prevent player from auto-equipping items taken from containers
This commit is contained in:
parent
15fdac3f6c
commit
4aa947ff4b
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ void ObjectList::editContainers(MWWorld::CellStore* cellStore)
|
|||
{
|
||||
MWWorld::Ptr ptrPlayer = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||
MWWorld::ContainerStore &playerStore = ptrPlayer.getClass().getContainerStore(ptrPlayer);
|
||||
*playerStore.add(itemPtr, containerItem.actionCount, ownerPtr);
|
||||
*playerStore.add(itemPtr, containerItem.actionCount, ownerPtr, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue