mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 10:23:53 +00:00
Set the animation state loop flag as appropriate
This commit is contained in:
parent
92d0c55f32
commit
879359f39d
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ void Animation::play(const std::string &groupname, const std::string &start, boo
|
|||
mAnimState->setEnabled(false);
|
||||
mAnimState = mEntityList.mSkelBase->getAnimationState(groupname);
|
||||
mAnimState->setEnabled(true);
|
||||
mAnimState->setLoop(loop);
|
||||
|
||||
mCurrentKeys = &mTextKeys[groupname];
|
||||
mLooping = loop;
|
||||
|
|
Loading…
Reference in a new issue