1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 00:15:06 +00:00

Force stop weapon animation before unequipping

This commit is contained in:
Evil Eye 2024-11-18 20:07:14 +01:00
parent 4a911a647d
commit d3db436c2e

View File

@ -1387,6 +1387,7 @@ namespace MWMechanics
else if (mWeaponType == ESM::Weapon::HandToHand)
mAnimation->showCarriedLeft(false);
mAnimation->disable(weapgroup);
playBlendedAnimation(
weapgroup, priorityWeapon, unequipMask, false, 1.0f, "unequip start", "unequip stop", 0.0f, 0);
mUpperBodyState = UpperBodyState::Unequipping;