mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 10:09:39 +00:00
Fix an always true condition (Bug #1355)
This commit is contained in:
parent
a0bff03560
commit
69855097ca
1 changed files with 2 additions and 1 deletions
|
@ -977,7 +977,8 @@ bool CharacterController::updateWeaponState()
|
||||||
}
|
}
|
||||||
|
|
||||||
//if playing combat animation and lowerbody is not busy switch to whole body animation
|
//if playing combat animation and lowerbody is not busy switch to whole body animation
|
||||||
if((weaptype != WeapType_None || UpperCharState_UnEquipingWeap) && animPlaying)
|
if((weaptype != WeapType_None || mUpperBodyState == UpperCharState_UnEquipingWeap
|
||||||
|
|| mUpperBodyState == UpperCharState_EquipingWeap) && animPlaying)
|
||||||
{
|
{
|
||||||
if( mMovementState != CharState_None ||
|
if( mMovementState != CharState_None ||
|
||||||
mJumpState != JumpState_None ||
|
mJumpState != JumpState_None ||
|
||||||
|
|
Loading…
Reference in a new issue