From 4aa947ff4ba2f3be1687cce7ffe8332a623cedf1 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 10 Feb 2022 23:10:11 +0200 Subject: [PATCH] [Client] Prevent player from auto-equipping items taken from containers --- apps/openmw/mwmp/ObjectList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/ObjectList.cpp b/apps/openmw/mwmp/ObjectList.cpp index 6a92f23bb..ad692816d 100644 --- a/apps/openmw/mwmp/ObjectList.cpp +++ b/apps/openmw/mwmp/ObjectList.cpp @@ -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); } } }