aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon/common.c')
-rw-r--r--code/qcommon/common.c6
1 files changed, 2 insertions, 4 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();