diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-06 13:27:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-06 13:27:37 +0300 |
commit | 0f25d6e3defc9a6cd1cc2cd23b522abf8734c837 (patch) | |
tree | 734ab65c460504095920bdf9ba347ecd11c6d0f8 /src/client.cpp | |
parent | 4e6f98cfd788965bd382f1722e2a5d895dda3bc6 (diff) | |
download | manaplus-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.tar.gz manaplus-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.tar.bz2 manaplus-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.tar.xz manaplus-0f25d6e3defc9a6cd1cc2cd23b522abf8734c837.zip |
Dont shop "did you know" window by default on Android.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
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, |