mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 13:11:32 +00:00
Properly cancel the landing animation during movement
This commit is contained in:
parent
c2ac52c82a
commit
30ef7ad81b
1 changed files with 3 additions and 0 deletions
|
@ -2200,7 +2200,10 @@ void CharacterController::update(float duration)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (movestate != CharState_None)
|
if (movestate != CharState_None)
|
||||||
|
{
|
||||||
clearAnimQueue();
|
clearAnimQueue();
|
||||||
|
jumpstate = JumpState_None;
|
||||||
|
}
|
||||||
|
|
||||||
if(mAnimQueue.empty() || inwater || (sneak && mIdleState != CharState_SpecialIdle))
|
if(mAnimQueue.empty() || inwater || (sneak && mIdleState != CharState_SpecialIdle))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue