--- a/QTfrontend/ui/page/pagenet.cpp Wed Feb 20 02:21:58 2013 +0100
+++ b/QTfrontend/ui/page/pagenet.cpp Tue Apr 02 21:00:57 2013 +0200
@@ -72,7 +72,12 @@
BtnNetSvrStart = formattedButton(QPushButton::tr("Start server"));
BtnNetSvrStart->setMinimumWidth(180);
- BtnNetSvrStart->setVisible(haveServer);
+ QString serverPath = bindir->absolutePath() + "/hedgewars-server";
+#ifdef Q_WS_WIN
+ serverPath += + ".exe";
+#endif
+ QFile server(serverPath);
+ BtnNetSvrStart->setVisible(server.exists());
footerLayout->addStretch();
footerLayout->addWidget(BtnNetSvrStart);