mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +00:00
Fix for explosion effects playing when the game is paused
This commit is contained in:
parent
e0dfc1425e
commit
2b53e5d965
@ -350,7 +350,9 @@ namespace MWRender
|
|||||||
|
|
||||||
void RenderingManager::update(float dt, bool paused)
|
void RenderingManager::update(float dt, bool paused)
|
||||||
{
|
{
|
||||||
mEffectManager->update(dt);
|
if (!paused)
|
||||||
|
mEffectManager->update(dt);
|
||||||
|
|
||||||
mSky->update(dt);
|
mSky->update(dt);
|
||||||
mWater->update(dt);
|
mWater->update(dt);
|
||||||
mCamera->update(dt, paused);
|
mCamera->update(dt, paused);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user