summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 17:08:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 17:08:54 +0300
commitcccb3e11663eb415b9b6c9a184e1c17762a2d989 (patch)
treee5988fcc37c332cb7d321f9781abaa2bc213baf5
parent0e79d3567ffff5da177b58b02f8eba0efdf3864e (diff)
downloadmanaverse-cccb3e11663eb415b9b6c9a184e1c17762a2d989.tar.gz
manaverse-cccb3e11663eb415b9b6c9a184e1c17762a2d989.tar.bz2
manaverse-cccb3e11663eb415b9b6c9a184e1c17762a2d989.tar.xz
manaverse-cccb3e11663eb415b9b6c9a184e1c17762a2d989.zip
reset safemode always after start.
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index bfba36e7c..bba942e7d 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2466,6 +2466,7 @@ void Client::storeSafeParameters() const
return;
}
+ config.setValue("safemode", false);
if (!tmpOpengl)
{
config.setValue("hwaccel", tmpHwaccel);
@@ -2473,7 +2474,6 @@ void Client::storeSafeParameters() const
config.setValue("fpslimit", tmpFpslimit);
config.setValue("altfpslimit", tmpAltFpslimit);
config.setValue("sound", tmpSound);
- config.setValue("safemode", false);
config.setValue("screenwidth", width);
config.setValue("screenheight", height);
config.setValue("font", font);