mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Merge branch 'forceunequip' into 'master'
Force stop weapon animation before unequipping Closes #8230 See merge request OpenMW/openmw!4460
This commit is contained in:
commit
17203c5071
1 changed files with 1 additions and 0 deletions
|
@ -1387,6 +1387,7 @@ namespace MWMechanics
|
||||||
else if (mWeaponType == ESM::Weapon::HandToHand)
|
else if (mWeaponType == ESM::Weapon::HandToHand)
|
||||||
mAnimation->showCarriedLeft(false);
|
mAnimation->showCarriedLeft(false);
|
||||||
|
|
||||||
|
mAnimation->disable(weapgroup);
|
||||||
playBlendedAnimation(
|
playBlendedAnimation(
|
||||||
weapgroup, priorityWeapon, unequipMask, false, 1.0f, "unequip start", "unequip stop", 0.0f, 0);
|
weapgroup, priorityWeapon, unequipMask, false, 1.0f, "unequip start", "unequip stop", 0.0f, 0);
|
||||||
mUpperBodyState = UpperBodyState::Unequipping;
|
mUpperBodyState = UpperBodyState::Unequipping;
|
||||||
|
|
Loading…
Reference in a new issue