From 243b5bfdc79a8924d90df11cf5115bd3a959204b Mon Sep 17 00:00:00 2001 From: thilo Date: Sun, 31 May 2009 20:30:37 +0000 Subject: I'll retain the new way seeding the random number generator.. these calls are therefore redundant git-svn-id: svn://svn.icculus.org/quake3/trunk@1563 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'code/qcommon') diff --git a/code/qcommon/common.c b/code/qcommon/common.c index fb9f664..02b22d2 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -3340,7 +3340,6 @@ void Com_RandomBytes( byte *string, int len ) return; Com_Printf( "Com_RandomBytes: using weak randomization\n" ); - srand( time( 0 ) ); for( i = 0; i < len; i++ ) string[i] = (unsigned char)( rand() % 255 ); } -- cgit v1.2.3