aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
Diffstat (limited to 'code/client')
-rw-r--r--code/client/cl_scrn.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/code/client/cl_scrn.c b/code/client/cl_scrn.c
index 732913f..568d684 100644
--- a/code/client/cl_scrn.c
+++ b/code/client/cl_scrn.c
@@ -273,14 +273,16 @@ void SCR_DrawSmallStringExt( int x, int y, const char *string, float *setColor,
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;