summaryrefslogtreecommitdiff
path: root/src/game/g_ptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_ptr.c')
-rw-r--r--src/game/g_ptr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/g_ptr.c b/src/game/g_ptr.c
index ba8c095a..861f4b87 100644
--- a/src/game/g_ptr.c
+++ b/src/game/g_ptr.c
@@ -67,11 +67,9 @@ connectionRecord_t *G_GenerateNewConnection( gclient_t *client )
{
int code = 0;
int i;
- qtime_t time;
// this should be really random
- trap_RealTime( &time );
- srand( time.tm_sec + time.tm_min + time.tm_hour );
+ srand( trap_Milliseconds( ) );
// there is a very very small possibility that this
// will loop infinitely