mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 04:15:31 +00:00
Fast-forward particle systems to make cell loads less obvious.
This commit is contained in:
parent
cf3812188f
commit
2c0d46525b
1 changed files with 3 additions and 0 deletions
|
@ -882,6 +882,9 @@ class NIFObjectLoader
|
|||
Ogre::ControllerFunctionRealPtr func(function);
|
||||
|
||||
scene->mControllers.push_back(Ogre::Controller<Ogre::Real>(srcval, dstval, func));
|
||||
|
||||
if (partflags&Nif::NiNode::ParticleFlag_AutoPlay)
|
||||
partsys->fastForward(1, 0.1);
|
||||
}
|
||||
ctrl = ctrl->next;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue