mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 00:32:49 +00:00
Force stop weapon animation before unequipping
This commit is contained in:
parent
4a911a647d
commit
d3db436c2e
@ -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…
x
Reference in New Issue
Block a user