mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Make extra sure to ignore movement input for scripted animations (#7833)
This commit is contained in:
parent
1280345296
commit
6e81927d60
@ -2070,7 +2070,7 @@ namespace MWMechanics
|
||||
vec.x() *= speed;
|
||||
vec.y() *= speed;
|
||||
|
||||
if (isKnockedOut() || isKnockedDown() || isRecovery())
|
||||
if (isKnockedOut() || isKnockedDown() || isRecovery() || isScriptedAnimPlaying())
|
||||
vec = osg::Vec3f();
|
||||
|
||||
CharacterState movestate = CharState_None;
|
||||
|
Loading…
x
Reference in New Issue
Block a user