summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-15 20:37:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-15 20:37:18 +0300
commitf6cb5519a2cc4452055ff0bfb6f38990bc3e9e65 (patch)
treea4b22c43caebdccb79969dc95356f8745600d36c /src/client.h
parentacc395f67dbe683787f1aeb0bf96fe0a16f62c5e (diff)
downloadmv-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.tar.gz
mv-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.tar.bz2
mv-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.tar.xz
mv-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.zip
Allow open server info window from game.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index a5c0a6135..f2681113a 100644
--- a/src/client.h
+++ b/src/client.h
@@ -95,6 +95,9 @@ class Client final : public ConfigListener,
void slowLogic();
+ ServerInfo &getCurrentServer()
+ { return mCurrentServer; }
+
private:
void initSoundManager();