forked from mirror/openmw-tes3mp
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);
|
Ogre::ControllerFunctionRealPtr func(function);
|
||||||
|
|
||||||
scene->mControllers.push_back(Ogre::Controller<Ogre::Real>(srcval, dstval, func));
|
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;
|
ctrl = ctrl->next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue