summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-04 20:13:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-04 20:13:56 +0300
commit80f3c30a3ff76d68aaf8ae65c1438170539c4c4b (patch)
tree436e5c86b1e25ed1d6b3f20e666571180a5e1719 /src/gui/windows/updaterwindow.cpp
parenta5d641a983c296eef3442f86f4d0157fde9a3aa8 (diff)
downloadmanaverse-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.tar.gz
manaverse-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.tar.bz2
manaverse-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.tar.xz
manaverse-80f3c30a3ff76d68aaf8ae65c1438170539c4c4b.zip
Add steam link in news page for player who run game more than 10 times.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp8
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)