From 4ad660de7812efc157991b813fd2cd59ec251d1a Mon Sep 17 00:00:00 2001 From: Robbe Bryssinck Date: Wed, 15 Jun 2022 19:37:10 +0200 Subject: [PATCH] fix: freeze and several crashes --- Code/client/Games/Skyrim/Actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/client/Games/Skyrim/Actor.cpp b/Code/client/Games/Skyrim/Actor.cpp index 917f39759..fc5d083bf 100644 --- a/Code/client/Games/Skyrim/Actor.cpp +++ b/Code/client/Games/Skyrim/Actor.cpp @@ -454,13 +454,13 @@ void Actor::UnEquipAll() noexcept // Right slot if (pDataList->Contains(ExtraData::Worn)) { - EquipManager::Get()->UnEquip(this, pChange->form, pDataList, 1, DefaultObjectManager::Get().rightEquipSlot, true, false, true, false, nullptr); + EquipManager::Get()->UnEquip(this, pChange->form, pDataList, 1, DefaultObjectManager::Get().rightEquipSlot, false, true, false, false, nullptr); } // Left slot if (pDataList->Contains(ExtraData::WornLeft)) { - EquipManager::Get()->UnEquip(this, pChange->form, pDataList, 1, DefaultObjectManager::Get().leftEquipSlot, true, false, true, false, nullptr); + EquipManager::Get()->UnEquip(this, pChange->form, pDataList, 1, DefaultObjectManager::Get().leftEquipSlot, false, true, false, false, nullptr); } } }