I'll retain the new way seeding the random number generator.. these calls are therefore redundant
This commit is contained in:
1 parent
e4d0c14f70
commit
4e8a181073
4 files changed
+1
-9
No files matched your search
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user