mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
Fix an always true condition (Bug #1355)
This commit is contained in:
parent
a0bff03560
commit
69855097ca
@ -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…
x
Reference in New Issue
Block a user