summaryrefslogtreecommitdiff
path: root/src/network/network.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-02 21:04:50 +0000
committerrubidium <rubidium@openttd.org>2007-02-02 21:04:50 +0000
commit6a820a30d1eaa1be688e392ec42f074859ccc10b (patch)
tree6afcca18aefaacfe113a8dc1b2d985a26e852f12 /src/network/network.h
parent07b9d95c3c35a2df32aae161d819c24035454956 (diff)
downloadopenttd-6a820a30d1eaa1be688e392ec42f074859ccc10b.tar.xz
(svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP.
Diffstat (limited to 'src/network/network.h')
-rw-r--r--src/network/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.h b/src/network/network.h
index 58af8e304..b091cab86 100644
--- a/src/network/network.h
+++ b/src/network/network.h
@@ -163,7 +163,7 @@ VARDEF uint8 _network_autoclean_protected; // Unprotect a company after X mont
VARDEF Year _network_restart_game_year; // If this year is reached, the server automaticly restarts
VARDEF uint8 _network_min_players; // Minimum number of players for game to unpause
-NetworkGameList *NetworkQueryServer(const char* host, unsigned short port, bool game_info);
+void NetworkTCPQueryServer(const char* host, unsigned short port);
byte NetworkSpectatorCount(void);