diff options
author | rubidium <rubidium@openttd.org> | 2008-07-21 18:49:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-21 18:49:50 +0000 |
commit | 14a747e490d88144665ae342be4e5e35a6b880db (patch) | |
tree | 8089a6142b839d5310be11ce5bf448b369c59059 | |
parent | 317868261a26f7303c2c8e0ffe801190319bf76a (diff) | |
download | openttd-14a747e490d88144665ae342be4e5e35a6b880db.tar.xz |
(svn r13776) -Fix: some revision checking code was unintentionally disabled.
-rw-r--r-- | src/network/network_server.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index 1aca596d9..279c49bd5 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.cpp @@ -644,14 +644,12 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_JOIN) p->Recv_string(client_revision, sizeof(client_revision)); -#if defined(WITH_REV) || defined(WITH_REV_HACK) // Check if the client has revision control enabled if (!IsNetworkCompatibleVersion(client_revision)) { // Different revisions!! SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_WRONG_REVISION); return; } -#endif p->Recv_string(name, sizeof(name)); playas = (Owner)p->Recv_uint8(); |