1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 05:39:42 +00:00

Merge branch 'How-to-kill-a-god' into 'master'

Initialize mScripted again when loading scripted animations.

See merge request OpenMW/openmw!3827
This commit is contained in:
Alexei Kotov 2024-02-02 10:26:12 +00:00
commit a12b792573

View file

@ -2519,6 +2519,7 @@ namespace MWMechanics
entry.mLoopCount
= static_cast<uint32_t>(std::min<uint64_t>(iter->mLoopCount, std::numeric_limits<uint32_t>::max()));
entry.mLooping = mAnimation->isLoopingAnimation(entry.mGroup);
entry.mScripted = true;
entry.mStartKey = "start";
entry.mStopKey = "stop";
entry.mSpeed = 1.f;