Skip to content

Commit

Permalink
fix: freeze and several crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Jun 15, 2022
1 parent 6fb4a9c commit 4ad660d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/client/Games/Skyrim/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 4ad660d

Please sign in to comment.