From 2b53e5d96573702697bc451eda27b0a8b8f008c6 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 19 Jun 2015 03:32:48 +0200 Subject: [PATCH] Fix for explosion effects playing when the game is paused --- apps/openmw/mwrender/renderingmanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index 7f76adb288..719ee6ebcd 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -350,7 +350,9 @@ namespace MWRender void RenderingManager::update(float dt, bool paused) { - mEffectManager->update(dt); + if (!paused) + mEffectManager->update(dt); + mSky->update(dt); mWater->update(dt); mCamera->update(dt, paused);