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:
commit
a12b792573
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue