1
0
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:
scrawl 2014-02-03 20:57:46 +01:00
parent cf3812188f
commit 2c0d46525b

View File

@ -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;
}