r1508 - in trunk/code: qcommon sys

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Mar 2 17:26:36 EST 2009


Author: tma
Date: 2009-03-02 17:26:36 -0500 (Mon, 02 Mar 2009)
New Revision: 1508

Modified:
   trunk/code/qcommon/common.c
   trunk/code/sys/sys_main.c
Log:
* Remove superfluous comments committed with fix to bug #3999


Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2009-03-02 18:08:21 UTC (rev 1507)
+++ trunk/code/qcommon/common.c	2009-03-02 22:26:36 UTC (rev 1508)
@@ -2629,12 +2629,10 @@
 
 	Sys_Init();
 
-	// Pick a port value that should be nice and random.
-	// As machines get faster Com_Milliseconds can't be used
-	// anymore as it results in a smaller and smaller range of
-	// qport values.
+	// Pick a random port value
 	Com_RandomBytes( (byte*)&qport, sizeof(int) );
 	Netchan_Init( qport & 0xffff );
+
 	VM_Init();
 	SV_Init();
 

Modified: trunk/code/sys/sys_main.c
===================================================================
--- trunk/code/sys/sys_main.c	2009-03-02 18:08:21 UTC (rev 1507)
+++ trunk/code/sys/sys_main.c	2009-03-02 22:26:36 UTC (rev 1508)
@@ -534,10 +534,8 @@
 
 	Sys_PlatformInit( );
 
-	// Set the initial time base.
-	// If not called here com_frameTime will always be zero.
-	// com_frameTime should be pseudo random.
-	Sys_Milliseconds();
+	// Set the initial time base
+	Sys_Milliseconds( );
 
 	Sys_ParseArgs( argc, argv );
 	Sys_SetBinaryPath( Sys_Dirname( argv[ 0 ] ) );




More information about the quake3-commits mailing list