mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-22 19:39:32 -04:00
Merge pull request #1741 from akortunov/master
Do not reset mUpperBodyState for weapon->weapon switch
This commit is contained in:
commit
926ddcd47e
@ -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