mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 22:11:34 +00:00
Don't discard stagger/KO animation movement
This commit is contained in:
parent
3a1d0a9649
commit
5e99545b9c
1 changed files with 3 additions and 0 deletions
|
@ -2698,6 +2698,9 @@ namespace MWMechanics
|
||||||
|
|
||||||
bool CharacterController::isMovementAnimationControlled() const
|
bool CharacterController::isMovementAnimationControlled() const
|
||||||
{
|
{
|
||||||
|
if (mHitState != CharState_None)
|
||||||
|
return true;
|
||||||
|
|
||||||
if (Settings::game().mPlayerMovementIgnoresAnimation && mPtr == getPlayer())
|
if (Settings::game().mPlayerMovementIgnoresAnimation && mPtr == getPlayer())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue