Merge branch 'forceunequip' into 'master'

Force stop weapon animation before unequipping

Closes #8230

See merge request OpenMW/openmw!4460
master
Alexei Kotov 1 month ago
commit 17203c5071

@ -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;

Loading…
Cancel
Save