summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-21 23:25:05 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-21 23:25:05 +0300
commit3f2984d27b3ca03bac760b68db64db84cd75da49 (patch)
tree645e0e11a3af58b19dd4b78dc876d85a20b26933 /src/game.cpp
parent4fb515c4d3ec3b2109c7e406ae3169c534854513 (diff)
downloadmv-3f2984d27b3ca03bac760b68db64db84cd75da49.tar.gz
mv-3f2984d27b3ca03bac760b68db64db84cd75da49.tar.bz2
mv-3f2984d27b3ca03bac760b68db64db84cd75da49.tar.xz
mv-3f2984d27b3ca03bac760b68db64db84cd75da49.zip
Add option to enable/disable software mode compoundsprite update delay.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 253f9fb67..4ae5607a0 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -390,6 +390,9 @@ Game::Game():
AnimatedSprite::setEnableCache(mainGraphics->getOpenGL()
&& config.getBoolValue("enableDelayedAnimations"));
+ CompoundSprite::setEnableDelay(
+ config.getBoolValue("enableCompoundSpriteDelay"));
+
createGuiWindows();
windowMenu = new WindowMenu;