mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r1136) -Fix: [Network] Revision check on windows-servers is working now
This commit is contained in:
parent
f6e23d726f
commit
f04d49ca17
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user