I'll retain the new way seeding the random number generator.. these calls are therefore redundant

This commit is contained in:
Thilo Schulz 2009-05-31 20:30:37 +00:00
parent e4d0c14f70
commit 4e8a181073
4 changed files with 1 additions and 9 deletions

View file

@ -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 );
}