summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_console.c b/src/client/cl_console.c
index 997fa660..01e71ce0 100644
--- a/src/client/cl_console.c
+++ b/src/client/cl_console.c
@@ -549,8 +549,8 @@ void Con_DrawSolidConsole( float frac ) {
continue;
}
- if ( ( (text[x]>>8)&7 ) != currentColor ) {
- currentColor = (text[x]>>8)&7;
+ if ( ColorIndexForNumber( text[x]>>8 ) != currentColor ) {
+ currentColor = ColorIndexForNumber( text[x]>>8 );
re.SetColor( g_color_table[currentColor] );
}
SCR_DrawSmallChar( con.xadjust + (x+1)*SMALLCHAR_WIDTH, y, text[x] & 0xff );