diff options
author | darkvater <darkvater@openttd.org> | 2004-12-15 00:31:08 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-12-15 00:31:08 +0000 |
commit | c58549d512495568afcc2a6a8ecef8325c4aac33 (patch) | |
tree | abede9dde98130661ade81d3386600bcf406e07b /network_client.c | |
parent | 6cb53e7d34b75ba4c2938dbb623ba100c74c0798 (diff) | |
download | openttd-c58549d512495568afcc2a6a8ecef8325c4aac33.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.c | 2 |
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) { // |