diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-04 20:13:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-04 20:13:56 +0300 |
commit | 80f3c30a3ff76d68aaf8ae65c1438170539c4c4b (patch) | |
tree | 436e5c86b1e25ed1d6b3f20e666571180a5e1719 /src/gui/windows | |
parent | a5d641a983c296eef3442f86f4d0157fde9a3aa8 (diff) | |
download | mv-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.tar.gz mv-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.tar.bz2 mv-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.tar.xz mv-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.zip |
Add steam link in news page for player who run game more than 10 times.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index cd0e7e0d8..80275325a 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -407,6 +407,14 @@ void UpdaterWindow::loadPatch() "##6ManaPlus %s##0", line), true); } } + if (!serverVersion && config.getIntValue("runcount") > 10) + { + mBrowserBox->addRow("", true); + mBrowserBox->addRow("", true); + mBrowserBox->addRow(" ##1[@@http://steamcommunity.com/" + "sharedfiles/filedetails/?id=232178669|" + "Vote for us on Steam Green Light@@]", true); + } if (version > CHECK_VERSION) { #if defined(ANDROID) |