Merge pull request #1116 from Allofich/paused

Don't update ripple simulation when paused
This commit is contained in:
scrawl 2016-10-30 19:26:56 +01:00 committed by GitHub
commit cac8de0b29

View file

@ -458,9 +458,9 @@ namespace MWRender
{ {
mEffectManager->update(dt); mEffectManager->update(dt);
mSky->update(dt); mSky->update(dt);
mWater->update(dt);
} }
mWater->update(dt);
mCamera->update(dt, paused); mCamera->update(dt, paused);
osg::Vec3f focal, cameraPos; osg::Vec3f focal, cameraPos;