Merge pull request #1143 from apartfromtime/master

sound: True randomness
This commit is contained in:
Yamagi 2024-08-21 21:17:46 +02:00 committed by GitHub
commit 45fce1deb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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