1
0
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:
Alexei Kotov 2024-02-16 13:06:48 +03:00
parent 1280345296
commit 6e81927d60

View File

@ -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;