From f24195ccd9f206a748fb958fcbc49f0efa8b7c66 Mon Sep 17 00:00:00 2001 From: thilo Date: Thu, 27 Dec 2007 11:45:20 +0000 Subject: Remove small redundancy git-svn-id: svn://svn.icculus.org/quake3/trunk@1241 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index d77633c..789d3b1 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -3272,13 +3272,13 @@ void CL_GlobalServers_f( void ) { // reset the list, waiting for response // -1 is used to distinguish a "no response" + NET_StringToAdr( cl_master->string, &to ); + if( cls.masterNum == 1 ) { - NET_StringToAdr( cl_master->string, &to ); cls.nummplayerservers = -1; cls.pingUpdateSource = AS_MPLAYER; } else { - NET_StringToAdr( cl_master->string, &to ); cls.numglobalservers = -1; cls.pingUpdateSource = AS_GLOBAL; } -- cgit v1.2.3