1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 09:15:33 +00:00

Refresh mMovementAnimationControlled when refreshing idle animations.

This commit is contained in:
Mads Buvik Sandvei 2023-10-08 20:10:53 +02:00
parent a08ca11c34
commit dcf6a1fc3c

View file

@ -821,6 +821,9 @@ namespace MWMechanics
mCurrentIdle = idleGroup;
mAnimation->play(mCurrentIdle, priority, MWRender::Animation::BlendMask_All, false, 1.0f, "start", "stop",
startPoint, numLoops, true);
// May still be false after recent turn or jump animations
mMovementAnimationControlled = true;
}
void CharacterController::refreshCurrentAnims(