From 58a5d3d3830ec39165ed17bb0ff5f81e1e5792e4 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 15 Jul 2011 14:49:51 +0000 Subject: [PATCH] Have server send protocol version in challengeResponse so protocol negotiation works. (Where did this one get lost?) --- code/server/sv_client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/server/sv_client.c b/code/server/sv_client.c index 11e0a472..3b02915e 100644 --- a/code/server/sv_client.c +++ b/code/server/sv_client.c @@ -178,8 +178,8 @@ void SV_GetChallenge(netadr_t from) #endif challenge->pingTime = svs.time; - NET_OutOfBandPrint(NS_SERVER, challenge->adr, "challengeResponse %d %d", - challenge->challenge, clientChallenge); + NET_OutOfBandPrint(NS_SERVER, challenge->adr, "challengeResponse %d %d %d", + challenge->challenge, clientChallenge, com_protocol->integer); } #ifndef STANDALONE @@ -232,7 +232,7 @@ void SV_AuthorizeIpPacket( netadr_t from ) { } if ( !Q_stricmp( s, "accept" ) ) { NET_OutOfBandPrint(NS_SERVER, challengeptr->adr, - "challengeResponse %d %d", challengeptr->challenge, challengeptr->clientChallenge); + "challengeResponse %d %d %d", challengeptr->challenge, challengeptr->clientChallenge, com_protocol->integer); return; } if ( !Q_stricmp( s, "unknown" ) ) {