From 08ee31604ac41fc24317122681f3b053594422cf Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Thu, 27 Dec 2007 11:45:20 +0000 Subject: [PATCH] Remove small redundancy --- 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 d77633c1..789d3b1c 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; }