summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 75317edac..253f9fb67 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -387,7 +387,8 @@ Game::Game():
top->add(viewport);
viewport->requestMoveToBottom();
- AnimatedSprite::setEnableCache(mainGraphics->getOpenGL());
+ AnimatedSprite::setEnableCache(mainGraphics->getOpenGL()
+ && config.getBoolValue("enableDelayedAnimations"));
createGuiWindows();