mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 14:45:35 +00:00
Refresh mMovementAnimationControlled when refreshing idle animations.
This commit is contained in:
parent
a08ca11c34
commit
dcf6a1fc3c
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue