mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
explicitly prevent movement whenever playing scripted animations
This commit is contained in:
parent
cdb325f19a
commit
8792e76f5d
1 changed files with 2 additions and 2 deletions
|
@ -2366,7 +2366,7 @@ namespace MWMechanics
|
|||
}
|
||||
}
|
||||
|
||||
if (!isMovementAnimationControlled())
|
||||
if (!isMovementAnimationControlled() && mAnimQueue.empty())
|
||||
world->queueMovement(mPtr, vec);
|
||||
}
|
||||
|
||||
|
@ -2435,7 +2435,7 @@ namespace MWMechanics
|
|||
}
|
||||
|
||||
// Update movement
|
||||
if (isMovementAnimationControlled() && mPtr.getClass().isActor())
|
||||
if (isMovementAnimationControlled() && mPtr.getClass().isActor() && mAnimQueue.empty())
|
||||
world->queueMovement(mPtr, moved);
|
||||
|
||||
mSkipAnim = false;
|
||||
|
|
Loading…
Reference in a new issue