mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 21:22:14 +00:00
Use ColorIndexForNumber in Con_DrawSolidConsole
This commit is contained in:
parent
e742952db8
commit
de3062623a
1 changed files with 2 additions and 2 deletions
|
@ -717,8 +717,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 );
|
||||
|
|
Loading…
Reference in a new issue