Skip to content

Commit

Permalink
Force stop weapon animation before unequipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Assumeru committed Nov 18, 2024
1 parent 4a911a6 commit d3db436
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/openmw/mwmechanics/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d3db436

Please sign in to comment.