r1241 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 27 06:45:20 EST 2007


Author: thilo
Date: 2007-12-27 06:45:20 -0500 (Thu, 27 Dec 2007)
New Revision: 1241

Modified:
   trunk/code/client/cl_main.c
Log:
Remove small redundancy


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2007-12-14 21:54:45 UTC (rev 1240)
+++ trunk/code/client/cl_main.c	2007-12-27 11:45:20 UTC (rev 1241)
@@ -3272,13 +3272,13 @@
 	// 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;
 	}




More information about the quake3-commits mailing list