Merge remote-tracking branch 'yquake2/master'

This commit is contained in:
Denis Pauk 2024-08-21 22:51:15 +03:00
commit 0773d3c3fe
2 changed files with 1 additions and 6 deletions

View file

@ -513,7 +513,7 @@ Con_DrawInput(void)
{ {
if (i == linepos) if (i == linepos)
{ {
if (cls.realtime & 8) if ((cls.realtime >> 8) & 1)
{ {
ch = CON_INPUT_CURSOR; ch = CON_INPUT_CURSOR;
} }

View file

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