[quake3-commits] r2082 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jul 15 10:49:51 EDT 2011


Author: thilo
Date: 2011-07-15 10:49:51 -0400 (Fri, 15 Jul 2011)
New Revision: 2082

Modified:
   trunk/code/server/sv_client.c
Log:
Have server send protocol version in challengeResponse so protocol negotiation works. (Where did this one get lost?)


Modified: trunk/code/server/sv_client.c
===================================================================
--- trunk/code/server/sv_client.c	2011-07-15 14:44:06 UTC (rev 2081)
+++ trunk/code/server/sv_client.c	2011-07-15 14:49:51 UTC (rev 2082)
@@ -178,8 +178,8 @@
 #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 @@
 	}
 	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" ) ) {



More information about the quake3-commits mailing list