mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-13 08:27:42 +00:00
I broke the progressbar. Final fix for that
This commit is contained in:
parent
d5259322de
commit
c8e0d08d09
1 changed files with 5 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $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
|
// Revision 1.24 2002/05/28 03:10:50 jbravo
|
||||||
// My fixups broke stuff
|
// My fixups broke stuff
|
||||||
//
|
//
|
||||||
|
@ -418,7 +421,7 @@ void CG_DrawInformation( void ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
trap_R_SetColor(colorDkGrey);
|
trap_R_SetColor(colorDkGrey);
|
||||||
for (bar; bar < 10; bar++) {
|
for (; bar < 10; bar++) {
|
||||||
CG_DrawPic(SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, percentBox);
|
CG_DrawPic(SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, percentBox);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -426,10 +429,9 @@ void CG_DrawInformation( void ) {
|
||||||
CG_FillRect( SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, colorWhite);
|
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);
|
CG_FillRect( SCREEN_WIDTH - (11 - bar) * 10, y, 8, 8, colorDkGrey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue