* (bug 3076) Map cycle breaks on empty or bot only servers (misanthropia)
* (bug 3303) Removal of never compiled code from cgame drawing functions (beast <info@dbwatersports.com>) * (bug 3297) Add missing limit to Q3 UI server info (beast <info@dbwatersports.com>) * (bug 3029) Fix to shader hash table being overpopulated (identified by Stefan "#@" Langer <raute_at@gmx.de>)
This commit is contained in:
parent
557bb5a1ce
commit
5e35d88b9b
4 changed files with 52 additions and 116 deletions
|
@ -128,11 +128,11 @@ static void ServerInfo_MenuDraw( void )
|
|||
const char *s;
|
||||
char key[MAX_INFO_KEY];
|
||||
char value[MAX_INFO_VALUE];
|
||||
int y;
|
||||
int i = 0, y;
|
||||
|
||||
y = SCREEN_HEIGHT/2 - s_serverinfo.numlines*(SMALLCHAR_HEIGHT)/2 - 20;
|
||||
s = s_serverinfo.info;
|
||||
while ( s ) {
|
||||
while ( s && i < s_serverinfo.numlines ) {
|
||||
Info_NextPair( &s, key, value );
|
||||
if ( !key[0] ) {
|
||||
break;
|
||||
|
@ -144,6 +144,7 @@ static void ServerInfo_MenuDraw( void )
|
|||
UI_DrawString(SCREEN_WIDTH*0.50 + 8,y,value,UI_LEFT|UI_SMALLFONT,text_color_normal);
|
||||
|
||||
y += SMALLCHAR_HEIGHT;
|
||||
i++;
|
||||
}
|
||||
|
||||
Menu_Draw( &s_serverinfo.menu );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue