From c8e0d08d09c62bd7db6cf189cbcef4a38c4a68a6 Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Tue, 28 May 2002 21:06:37 +0000 Subject: [PATCH] I broke the progressbar. Final fix for that --- reaction/cgame/cg_info.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reaction/cgame/cg_info.c b/reaction/cgame/cg_info.c index 11bfac99..98735a19 100644 --- a/reaction/cgame/cg_info.c +++ b/reaction/cgame/cg_info.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.25 2002/05/28 21:06:37 jbravo +// I broke the progressbar. Final fix for that +// // Revision 1.24 2002/05/28 03:10:50 jbravo // My fixups broke stuff // @@ -418,7 +421,7 @@ void CG_DrawInformation( void ) { } trap_R_SetColor(colorDkGrey); - for (bar; bar < 10; bar++) { + for (; bar < 10; bar++) { CG_DrawPic(SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, percentBox); } } else { @@ -426,10 +429,9 @@ void CG_DrawInformation( void ) { CG_FillRect( SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, colorWhite); } - for (bar; bar < 10; bar++) { + for (; bar < 10; bar++) { CG_FillRect( SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, colorDkGrey); } } } -