[quake3-commits] r1703 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Oct 25 15:51:32 EDT 2009


Author: thilo
Date: 2009-10-25 15:51:32 -0400 (Sun, 25 Oct 2009)
New Revision: 1703

Modified:
   trunk/code/client/cl_scrn.c
Log:
Show color codes in full length, patch by Amanieu (#4318)


Modified: trunk/code/client/cl_scrn.c
===================================================================
--- trunk/code/client/cl_scrn.c	2009-10-24 14:19:39 UTC (rev 1702)
+++ trunk/code/client/cl_scrn.c	2009-10-25 19:51:32 UTC (rev 1703)
@@ -273,14 +273,16 @@
 	xx = x;
 	re.SetColor( setColor );
 	while ( *s ) {
-		if ( !noColorEscape && Q_IsColorString( s ) ) {
+		if ( Q_IsColorString( s ) ) {
 			if ( !forceColor ) {
 				Com_Memcpy( color, g_color_table[ColorIndex(*(s+1))], sizeof( color ) );
 				color[3] = setColor[3];
 				re.SetColor( color );
 			}
-			s += 2;
-			continue;
+			if ( !noColorEscape ) {
+				s += 2;
+				continue;
+			}
 		}
 		SCR_DrawSmallChar( xx, y, *s );
 		xx += SMALLCHAR_WIDTH;



More information about the quake3-commits mailing list