summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
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