1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 10:49:40 +00:00

Do not reset idle animations when turning

This commit is contained in:
Andrei Kortunov 2018-08-15 19:10:15 +04:00
parent 15fa47827b
commit 3a6c480d41

View file

@ -411,8 +411,8 @@ void CharacterController::refreshMovementAnims(const WeaponInfo* weap, Character
if(force || movement != mMovementState)
{
mMovementState = movement;
if (movement != CharState_None)
// Turning animations should not interrupt idle ones
if (movement != CharState_None && !isTurning())
mIdleState = CharState_None;
std::string movementAnimName;