This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.42d in repository iortcw.
commit 7660e94bbd344b6f9ae33644d124f4a0582ca304 Author: [email protected] <[email protected]@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a> Date: Fri Aug 29 17:59:05 2014 +0000 All: Use ColorIndexForNumber in Con_DrawSolidConsole --- MP/code/client/cl_console.c | 4 ++-- SP/code/client/cl_console.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MP/code/client/cl_console.c b/MP/code/client/cl_console.c index 34288bb..795fb11 100644 --- a/MP/code/client/cl_console.c +++ b/MP/code/client/cl_console.c @@ -782,8 +782,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 ); diff --git a/SP/code/client/cl_console.c b/SP/code/client/cl_console.c index 8ac8bfd..ebcb9d7 100644 --- a/SP/code/client/cl_console.c +++ b/SP/code/client/cl_console.c @@ -761,8 +761,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 ); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

