mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Refresh mMovementAnimationControlled when refreshing idle animations.
This commit is contained in:
parent
a08ca11c34
commit
dcf6a1fc3c
@ -821,6 +821,9 @@ namespace MWMechanics
|
|||||||
mCurrentIdle = idleGroup;
|
mCurrentIdle = idleGroup;
|
||||||
mAnimation->play(mCurrentIdle, priority, MWRender::Animation::BlendMask_All, false, 1.0f, "start", "stop",
|
mAnimation->play(mCurrentIdle, priority, MWRender::Animation::BlendMask_All, false, 1.0f, "start", "stop",
|
||||||
startPoint, numLoops, true);
|
startPoint, numLoops, true);
|
||||||
|
|
||||||
|
// May still be false after recent turn or jump animations
|
||||||
|
mMovementAnimationControlled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CharacterController::refreshCurrentAnims(
|
void CharacterController::refreshCurrentAnims(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user