mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Fast-forward particle systems to make cell loads less obvious.
This commit is contained in:
parent
cf3812188f
commit
2c0d46525b
@ -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 New Issue
Block a user