diff --git a/src/client/cl_console.c b/src/client/cl_console.c index 811cc8f9..2aa01995 100644 --- a/src/client/cl_console.c +++ b/src/client/cl_console.c @@ -513,7 +513,7 @@ Con_DrawInput(void) { if (i == linepos) { - if (cls.realtime & 8) + if ((cls.realtime >> 8) & 1) { ch = CON_INPUT_CURSOR; } diff --git a/src/client/sound/ogg.c b/src/client/sound/ogg.c index c51f5cd9..9d65cc52 100644 --- a/src/client/sound/ogg.c +++ b/src/client/sound/ogg.c @@ -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; }