aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-03-02 17:29:51 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-03-02 17:29:51 +0000
commit865222ee61397e688bc3fba57898f285ee38d2c0 (patch)
treeef6f79f9ea62c79428f675d38b1c58b87a6c896c /code/server
parent2c40e407a04de4d688a81c30faf5b97c9a46c85e (diff)
downloadioquake3-aero-865222ee61397e688bc3fba57898f285ee38d2c0.tar.gz
ioquake3-aero-865222ee61397e688bc3fba57898f285ee38d2c0.zip
fix STANDALONE challengeResponse (#4000)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1505 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_client.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c
index 01f4d8b..de621b0 100644
--- a/code/server/sv_client.c
+++ b/code/server/sv_client.c
@@ -82,11 +82,8 @@ void SV_GetChallenge( netadr_t from ) {
}
#ifdef STANDALONE
- if(Cvar_VariableIntegerValue("com_standalone"))
- {
- challenge->pingTime = svs.time;
- NET_OutOfBandPrint( NS_SERVER, from, "challengeResponse %i", challenge->challenge );
- }
+ challenge->pingTime = svs.time;
+ NET_OutOfBandPrint( NS_SERVER, from, "challengeResponse %i", challenge->challenge );
#else
// if they are on a lan address, send the challengeResponse immediately
if ( Sys_IsLANAddress( from ) ) {