aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-03-02 22:26:36 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-03-02 22:26:36 +0000
commitbab4598e0d94d001649434931b4b9e342aacf1c1 (patch)
tree39b777d580ec987c87bd63cb7a1807e25b9cffad
parentda762ca71cd10044f0f5ee157d55e2f65e406ba2 (diff)
downloadioquake3-aero-bab4598e0d94d001649434931b4b9e342aacf1c1.tar.gz
ioquake3-aero-bab4598e0d94d001649434931b4b9e342aacf1c1.zip
* Remove superfluous comments committed with fix to bug #3999
git-svn-id: svn://svn.icculus.org/quake3/trunk@1508 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/common.c6
-rw-r--r--code/sys/sys_main.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c
index 46ad77b..7cdfa85 100644
--- a/code/qcommon/common.c
+++ b/code/qcommon/common.c
@@ -2629,12 +2629,10 @@ void Com_Init( char *commandLine ) {
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();
diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c
index 805a0c6..f2a05e6 100644
--- a/code/sys/sys_main.c
+++ b/code/sys/sys_main.c
@@ -534,10 +534,8 @@ int main( int argc, char **argv )
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 ] ) );