diff --git a/include/QF/draw.h b/include/QF/draw.h index 84d96d99d..57a8a1581 100644 --- a/include/QF/draw.h +++ b/include/QF/draw.h @@ -39,7 +39,6 @@ void Draw_Character (int x, int y, int num); void Draw_Pic (int x, int y, qpic_t *pic); void Draw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height); void Draw_TextBox (int x, int y, int width, int lines, byte alpha); -void Draw_TransPic (int x, int y, qpic_t *pic); void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation); void Draw_ConsoleBackground (int lines); void Draw_Crosshair (void); diff --git a/libs/video/renderer/gl/gl_draw.c b/libs/video/renderer/gl/gl_draw.c index fc2d08b7f..d7223ab86 100644 --- a/libs/video/renderer/gl/gl_draw.c +++ b/libs/video/renderer/gl/gl_draw.c @@ -365,7 +365,7 @@ Draw_AltString (int x, int y, const char *str) qfglBegin (GL_QUADS); while (*str) { - if ((num = *str++ | 0x80) != 32) // Don't render spaces + if ((num = *str++ | 0x80) != (0x80 | 32)) // Don't render spaces { frow = (num >> 4) * CELL_SIZE; fcol = (num & 15) * CELL_SIZE;