summaryrefslogtreecommitdiff
path: root/network_client.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-15 00:31:08 +0000
committerdarkvater <darkvater@openttd.org>2004-12-15 00:31:08 +0000
commitc21659ae7e20d7eb0f1f2c5a88ae173f9316fcb3 (patch)
treeabede9dde98130661ade81d3386600bcf406e07b /network_client.c
parentbc13fd26d53af184b55baffabb21bc0c290721c6 (diff)
downloadopenttd-c21659ae7e20d7eb0f1f2c5a88ae173f9316fcb3.tar.xz
(svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
Diffstat (limited to 'network_client.c')
-rw-r--r--network_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/network_client.c b/network_client.c
index 747464425..72342014b 100644
--- a/network_client.c
+++ b/network_client.c
@@ -43,6 +43,8 @@ DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_COMPANY_INFO)
NetworkSend_Packet(p, MY_CLIENT);
}
+extern const char _openttd_revision[];
+
DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_JOIN)
{
//