sound: True randomness

True randomness allows producing a number twice.
This commit is contained in:
apartfromtime 2024-08-19 20:01:44 +10:00
parent 6066b3c979
commit 912b65ff74
1 changed files with 0 additions and 5 deletions

View File

@ -537,11 +537,6 @@ OGG_PlayTrack(const char *track, qboolean cdtrack, qboolean immediate)
while (retries-- > 0 && newtrack < 2)
{
newtrack = randk() % (ogg_maxfileindex + 1);
if (newtrack == curtrack)
{
newtrack = 0;
}
}
} break;
}