@ -863,6 +863,7 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
@@ -863,6 +863,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;
@ -878,8 +879,17 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
@@ -878,8 +879,17 @@ static int Con_DrawGenericChar( int x, int y, int number, rgba_t color )
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
@ -703,8 +703,10 @@ void Image_PaletteHueReplace( byte *palSrc, int newHue, int start, int end, int
@@ -703,8 +703,10 @@ void Image_PaletteHueReplace( byte *palSrc, int newHue, int start, int end, int