diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-12-27 11:45:20 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-12-27 11:45:20 +0000 |
commit | f24195ccd9f206a748fb958fcbc49f0efa8b7c66 (patch) | |
tree | a125924f645ee6afbf3aea0574ce8ac6768ea81b /code | |
parent | 1c5942eb3180a39eb9efd7ce8d691e85271bdf27 (diff) | |
download | ioquake3-aero-f24195ccd9f206a748fb958fcbc49f0efa8b7c66.tar.gz ioquake3-aero-f24195ccd9f206a748fb958fcbc49f0efa8b7c66.zip |
Remove small redundancy
git-svn-id: svn://svn.icculus.org/quake3/trunk@1241 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/client/cl_main.c | 4 |
1 files 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; } |