Remove small redundancy

This commit is contained in:
Thilo Schulz 2007-12-27 11:45:20 +00:00
parent f41b32a39a
commit 08ee31604a

View file

@ -3272,13 +3272,13 @@ void CL_GlobalServers_f( void ) {
// reset the list, waiting for response // reset the list, waiting for response
// -1 is used to distinguish a "no response" // -1 is used to distinguish a "no response"
if( cls.masterNum == 1 ) {
NET_StringToAdr( cl_master->string, &to ); NET_StringToAdr( cl_master->string, &to );
if( cls.masterNum == 1 ) {
cls.nummplayerservers = -1; cls.nummplayerservers = -1;
cls.pingUpdateSource = AS_MPLAYER; cls.pingUpdateSource = AS_MPLAYER;
} }
else { else {
NET_StringToAdr( cl_master->string, &to );
cls.numglobalservers = -1; cls.numglobalservers = -1;
cls.pingUpdateSource = AS_GLOBAL; cls.pingUpdateSource = AS_GLOBAL;
} }