mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Merge "No servers found" with server browser status line
This commit is contained in:
parent
00c9abd652
commit
41d82d9baf
1 changed files with 5 additions and 4 deletions
|
@ -8608,10 +8608,14 @@ static void M_DrawServerCountAndHorizontalBar(void)
|
|||
serverlistultimatecount - serverlistcount,
|
||||
I_GetTime() / NEWTICRATE % 4, "...");
|
||||
}
|
||||
else
|
||||
else if (serverlistcount > 0)
|
||||
{
|
||||
text = va("%d servers found", serverlistcount);
|
||||
}
|
||||
else
|
||||
{
|
||||
text = "No servers found";
|
||||
}
|
||||
}
|
||||
|
||||
radius = V_StringWidth(text, 0) / 2;
|
||||
|
@ -8651,9 +8655,6 @@ static void M_DrawConnectMenu(void)
|
|||
|
||||
M_DrawServerCountAndHorizontalBar();
|
||||
|
||||
if (serverlistcount <= 0)
|
||||
V_DrawString(currentMenu->x,currentMenu->y+SERVERHEADERHEIGHT, 0, "No servers found");
|
||||
else
|
||||
for (i = 0; i < min(serverlistcount - serverlistpage * SERVERS_PER_PAGE, SERVERS_PER_PAGE); i++)
|
||||
{
|
||||
INT32 slindex = i + serverlistpage * SERVERS_PER_PAGE;
|
||||
|
|
Loading…
Reference in a new issue