From ae87e0d3fcbd1ba6348f51fcbb05a693741deda3 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sat, 9 Jun 2018 15:34:08 +0400 Subject: [PATCH] Do not reset mUpperBodyState for weapon->weapon switch (regression #4446) --- apps/openmw/mwmechanics/character.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index a0aad8b1b..07e5fa7d6 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1214,7 +1214,6 @@ bool CharacterController::updateWeaponState() bool animPlaying = mAnimation->getInfo(mCurrentWeapon, &complete); if (!animPlaying || complete >= 1.0f) { - mUpperBodyState = UpperCharState_Nothing; forcestateupdate = true; mAnimation->showCarriedLeft(updateCarriedLeftVisible(weaptype));