mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
draw.h:
remove dead Draw_TransPic prototype draw.c: really don't draw spaces in Draw_AltString
This commit is contained in:
parent
f392c395df
commit
b3843f7f5b
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue