mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Properly cancel the landing animation during movement
This commit is contained in:
parent
c2ac52c82a
commit
30ef7ad81b
@ -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…
x
Reference in New Issue
Block a user