mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 13:45:34 +00:00
Do not reset idle animations when turning
This commit is contained in:
parent
15fa47827b
commit
3a6c480d41
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue