summaryrefslogtreecommitdiff
path: root/src/network/network_client.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-11 22:10:10 +0000
committerrubidium <rubidium@openttd.org>2011-02-11 22:10:10 +0000
commit1dc5ba22105bc12ab13e79f3a8a22952d82f7c8e (patch)
tree5dbb01c8feb4617774850fb0e97c2a653247cf55 /src/network/network_client.h
parent7de823b1bde0f48fd5bd235ffdcc032eda5cdd1b (diff)
downloadopenttd-1dc5ba22105bc12ab13e79f3a8a22952d82f7c8e.tar.xz
(svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected
Diffstat (limited to 'src/network/network_client.h')
-rw-r--r--src/network/network_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_client.h b/src/network/network_client.h
index 096544156..c1ded6035 100644
--- a/src/network/network_client.h
+++ b/src/network/network_client.h
@@ -100,6 +100,8 @@ public:
static NetworkRecvStatus SendRCon(const char *password, const char *command);
static NetworkRecvStatus SendMove(CompanyID company, const char *password);
+ static bool IsConnected();
+
static void Send();
static bool Receive();
static bool GameLoop();