forked from teamnwah/openmw-tes3coop
Make sure to play IdleSwim when the character is swimming (Bug #2696)
This commit is contained in:
parent
81a4a6da6b
commit
6e5f3339ad
1 changed files with 1 additions and 1 deletions
|
@ -1768,7 +1768,7 @@ void CharacterController::update(float duration)
|
|||
if(movestate != CharState_None)
|
||||
clearAnimQueue();
|
||||
|
||||
if(mAnimQueue.empty())
|
||||
if(mAnimQueue.empty() || inwater || sneak)
|
||||
{
|
||||
idlestate = (inwater ? CharState_IdleSwim : (sneak ? CharState_IdleSneak : CharState_Idle));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue