summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-16 15:35:19 +0000
committertruelight <truelight@openttd.org>2004-12-16 15:35:19 +0000
commitf04d49ca172991ce57ee3640f8fb85873da98181 (patch)
treea150180553030cded33fd958b607e31159c3a7cc
parentf6e23d726f015a0b1663da041cacf2c8404bdd35 (diff)
downloadopenttd-f04d49ca172991ce57ee3640f8fb85873da98181.tar.xz
(svn r1136) -Fix: [Network] Revision check on windows-servers is working now
-rw-r--r--network_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_server.c b/network_server.c
index 26105940e..2f81a5a19 100644
--- a/network_server.c
+++ b/network_server.c
@@ -579,7 +579,7 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_JOIN)
NetworkRecv_string(p, client_revision, sizeof(client_revision));
-#ifdef WITH_REV
+#if defined(WITH_REV) || defined(WITH_REV_HACK)
// Check if the client has revision control enabled
if (strncmp(NOREV_STRING, client_revision, sizeof(client_revision)) != 0) {
if (strncmp(_network_game_info.server_revision, client_revision, sizeof(_network_game_info.server_revision) - 1) != 0) {