summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-06 13:27:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-06 13:27:37 +0300
commit0f25d6e3defc9a6cd1cc2cd23b522abf8734c837 (patch)
tree734ab65c460504095920bdf9ba347ecd11c6d0f8 /src/client.cpp
parent4e6f98cfd788965bd382f1722e2a5d895dda3bc6 (diff)
downloadManaVerse-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.tar.gz
ManaVerse-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.tar.bz2
ManaVerse-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.tar.xz
ManaVerse-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.zip
Dont shop "did you know" window by default on Android.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index c2b0ad8fb..d5623a7f2 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -3134,8 +3134,14 @@ void Client::checkConfigVersion()
config.setValue("customcursor", false);
#endif
}
+ if (version < 4)
+ {
+#ifdef ANDROID
+ config.setValue("showDidYouKnow", false);
+#endif
+ }
- config.setValue("cfgver", 3);
+ config.setValue("cfgver", 4);
}
Window *Client::openErrorDialog(const std::string &header,