mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 03:32:36 +00:00
Remove non-looping effects after rest
This commit is contained in:
parent
3896a2eba6
commit
07ccc5abdb
@ -1683,7 +1683,10 @@ namespace MWMechanics
|
|||||||
|
|
||||||
MWRender::Animation* animation = MWBase::Environment::get().getWorld()->getAnimation(iter->first);
|
MWRender::Animation* animation = MWBase::Environment::get().getWorld()->getAnimation(iter->first);
|
||||||
if (animation)
|
if (animation)
|
||||||
animation->updateEffects();
|
{
|
||||||
|
animation->removeEffects();
|
||||||
|
MWBase::Environment::get().getWorld()->applyLoopingParticles(iter->first);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user