diff options
author | Tim Angus <tim@ngus.net> | 2009-10-28 20:27:27 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:13 +0000 |
commit | 5f5d5d1568e21dacdd0798781130f11c6d5821d0 (patch) | |
tree | 3d03fe518a98bb3aa0baba33e72436613bb888db /src/cgame/cg_draw.c | |
parent | f9da8712126c8a377feb40989f30726c1f8974df (diff) |
* Remove the colours from the warmup warning
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r-- | src/cgame/cg_draw.c | 9 |
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 ); |