summaryrefslogtreecommitdiff
path: root/src/progs/dyecmd
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-13 01:57:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-13 01:57:39 +0300
commit10f73a88a374a250d192b02d783b5de3fe6e4aa6 (patch)
treebc7168fc5fbeeb68470d4245c7319c5a1098b554 /src/progs/dyecmd
parent1f71a98b9377324bb08ba20fbfe52cbff67c49c9 (diff)
downloadmanaverse-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.gz
manaverse-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.bz2
manaverse-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.xz
manaverse-10f73a88a374a250d192b02d783b5de3fe6e4aa6.zip
Fix option for enable/disable screensaver in SDL 2.
Diffstat (limited to 'src/progs/dyecmd')
-rw-r--r--src/progs/dyecmd/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index eb40fd9c5..b071eaf73 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -269,6 +269,7 @@ void Client::gameInit()
#endif // defined(USE_OPENGL)
updateEnv();
+ SDL::allowScreenSaver(config.getBoolValue("allowscreensaver"));
initGraphics();
#ifndef WIN32