1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Do not reset mUpperBodyState for weapon->weapon switch (regression #4446)

This commit is contained in:
Andrei Kortunov 2018-06-09 15:34:08 +04:00
parent 7d9de93fd3
commit ae87e0d3fc

View file

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