mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Do not reset mUpperBodyState for weapon->weapon switch (regression #4446)
This commit is contained in:
parent
7d9de93fd3
commit
ae87e0d3fc
@ -1214,7 +1214,6 @@ bool CharacterController::updateWeaponState()
|
|||||||
bool animPlaying = mAnimation->getInfo(mCurrentWeapon, &complete);
|
bool animPlaying = mAnimation->getInfo(mCurrentWeapon, &complete);
|
||||||
if (!animPlaying || complete >= 1.0f)
|
if (!animPlaying || complete >= 1.0f)
|
||||||
{
|
{
|
||||||
mUpperBodyState = UpperCharState_Nothing;
|
|
||||||
forcestateupdate = true;
|
forcestateupdate = true;
|
||||||
mAnimation->showCarriedLeft(updateCarriedLeftVisible(weaptype));
|
mAnimation->showCarriedLeft(updateCarriedLeftVisible(weaptype));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user