equal
deleted
inserted
replaced
619 |
619 |
620 p->Recv_string(client_revision, sizeof(client_revision)); |
620 p->Recv_string(client_revision, sizeof(client_revision)); |
621 |
621 |
622 #if defined(WITH_REV) || defined(WITH_REV_HACK) |
622 #if defined(WITH_REV) || defined(WITH_REV_HACK) |
623 // Check if the client has revision control enabled |
623 // Check if the client has revision control enabled |
624 if (strcmp(NOREV_STRING, client_revision) != 0 && |
624 if (!IsNetworkCompatibleVersion(client_revision)) { |
625 strcmp(_network_game_info.server_revision, client_revision) != 0) { |
|
626 // Different revisions!! |
625 // Different revisions!! |
627 SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_WRONG_REVISION); |
626 SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_WRONG_REVISION); |
628 return; |
627 return; |
629 } |
628 } |
630 #endif |
629 #endif |