summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-28 20:27:27 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:13 +0000
commit5f5d5d1568e21dacdd0798781130f11c6d5821d0 (patch)
tree3d03fe518a98bb3aa0baba33e72436613bb888db /src
parentf9da8712126c8a377feb40989f30726c1f8974df (diff)
* Remove the colours from the warmup warning
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_draw.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index ddfc9fb9..f5329dc9 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -3209,24 +3209,21 @@ static void CG_DrawWarmup( void )
int w;
int h;
float size = 0.5f;
- char text[ MAX_STRING_CHARS ] = S_COLOR_RED "Warmup Time:";
+ char text[ MAX_STRING_CHARS ] = "Warmup Time:";
if( !cg.warmupTime )
return;
-
+
sec = ( cg.warmupTime - cg.time ) / 1000;
if( sec < 0 )
return;
-
w = UI_Text_Width( text, size, 0 );
h = UI_Text_Height( text, size, 0 );
UI_Text_Paint( 320 - w / 2, 200, size, colorWhite, text, 0, 0, ITEM_TEXTSTYLE_SHADOWED );
- Com_sprintf( text, sizeof( text ),
- "----- %s" S_COLOR_WHITE " -----",
- ( sec ) ? va( "^%d%d", sec % 7, sec ) : S_COLOR_GREEN "FIGHT!" );
+ Com_sprintf( text, sizeof( text ), "%s", sec ? va( "%d", sec ) : "FIGHT!" );
w = UI_Text_Width( text, size, 0 );
UI_Text_Paint( 320 - w / 2, 200 + 1.5f * h, size, colorWhite, text, 0, 0, ITEM_TEXTSTYLE_SHADOWED );