@ -620,7 +620,9 @@ void Image_PaletteHueReplace( byte *palSrc, int newHue, int start, int end, int
@@ -620,7 +620,9 @@ void Image_PaletteHueReplace( byte *palSrc, int newHue, int start, int end, int
@ -730,6 +730,7 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
@@ -730,6 +730,7 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
{
intwidth,height;
floats1,t1,s2,t2;
gl_texture_t*glt;
wrect_t*rc;
number&=255;
@ -737,13 +738,21 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
@@ -737,13 +738,21 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
if(!con.curFont||!con.curFont->valid)
return0;
// if( number < 32 ) return 0;
if(y<-con.curFont->charHeight)
return0;
rc=&con.curFont->fontRc[number];
glt=R_GetTexture(con.curFont->hFontTexture);
width=glt->srcWidth;
height=glt->srcHeight;
if(!width||!height)
returncon.curFont->charWidths[number];
// don't apply color to fixed fonts it's already colored