diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-21 23:25:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-21 23:25:05 +0300 |
commit | 3f2984d27b3ca03bac760b68db64db84cd75da49 (patch) | |
tree | 645e0e11a3af58b19dd4b78dc876d85a20b26933 /src/game.cpp | |
parent | 4fb515c4d3ec3b2109c7e406ae3169c534854513 (diff) | |
download | manaplus-3f2984d27b3ca03bac760b68db64db84cd75da49.tar.gz manaplus-3f2984d27b3ca03bac760b68db64db84cd75da49.tar.bz2 manaplus-3f2984d27b3ca03bac760b68db64db84cd75da49.tar.xz manaplus-3f2984d27b3ca03bac760b68db64db84cd75da49.zip |
Add option to enable/disable software mode compoundsprite update delay.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
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; |