mirror of
https://github.com/UberGames/ioef.git
synced 2025-02-25 21:00:57 +00:00
Have server send protocol version in challengeResponse so protocol negotiation works. (Where did this one get lost?)
This commit is contained in:
parent
f6d6ed4b30
commit
58a5d3d383
1 changed files with 3 additions and 3 deletions
|
@ -178,8 +178,8 @@ void SV_GetChallenge(netadr_t from)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
challenge->pingTime = svs.time;
|
challenge->pingTime = svs.time;
|
||||||
NET_OutOfBandPrint(NS_SERVER, challenge->adr, "challengeResponse %d %d",
|
NET_OutOfBandPrint(NS_SERVER, challenge->adr, "challengeResponse %d %d %d",
|
||||||
challenge->challenge, clientChallenge);
|
challenge->challenge, clientChallenge, com_protocol->integer);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef STANDALONE
|
#ifndef STANDALONE
|
||||||
|
@ -232,7 +232,7 @@ void SV_AuthorizeIpPacket( netadr_t from ) {
|
||||||
}
|
}
|
||||||
if ( !Q_stricmp( s, "accept" ) ) {
|
if ( !Q_stricmp( s, "accept" ) ) {
|
||||||
NET_OutOfBandPrint(NS_SERVER, challengeptr->adr,
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if ( !Q_stricmp( s, "unknown" ) ) {
|
if ( !Q_stricmp( s, "unknown" ) ) {
|
||||||
|
|
Loading…
Reference in a new issue