Merge "No servers found" with server browser status line
This commit is contained in:
1 parent
00c9abd652
commit
41d82d9baf
1 file changed
+5
-4
+5
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user