diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-10 21:10:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-10 21:10:07 +0300 |
commit | bfd0d4d13b9b13b48e99122b271b792d18c2cd8a (patch) | |
tree | 527d2d9dafa8d284744f9f3383bec4916583c339 /src/game.cpp | |
parent | 7e53a47d6f3e2dfb1446384e674f9d391bd23f7a (diff) | |
download | plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.gz plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.bz2 plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.xz plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.zip |
Fix some issues without C++11 flags.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 69333841f..dfbfeb5a1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -402,7 +402,7 @@ Game::Game() : viewport->requestMoveToBottom(); AnimatedSprite::setEnableCache( - mainGraphics->getOpenGL() != RenderType::RENDER_SOFTWARE && + mainGraphics->getOpenGL() != RENDER_SOFTWARE && config.getBoolValue("enableDelayedAnimations")); CompoundSprite::setEnableDelay( @@ -657,7 +657,7 @@ void Game::slowLogic() effectManager->logic(); } - if (mainGraphics->getOpenGL() != RenderType::RENDER_SOFTWARE) + if (mainGraphics->getOpenGL() != RENDER_SOFTWARE) DelayedManager::delayedLoad(); #ifdef TMWA_SUPPORT |