git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2945
d7cf8633-e32d-0410-b094-
e92efae38249
void M_Search_Draw (void)
{
- const char* string;
cachepic_t *p;
int x;
return;
}
- if (gamemode == GAME_TRANSFUSION)
- string = "No Transfusion servers found";
- else
- string = "No Quake servers found";
- M_PrintWhite ((320/2) - ((22*8)/2), 64, string);
+ M_PrintWhite ((320/2) - ((22*8)/2), 64, va("No %s servers found", gamename));
if ((realtime - searchCompleteTime) < 3.0)
return;
if (hostCacheCount)
Con_Printf("== end list ==\n\n");
else
- {
- if (gamemode == GAME_TRANSFUSION)
- Con_Printf("No Transfusion servers found.\n\n");
- else
- Con_Printf("No Quake servers found.\n\n");
- }
+ Con_Printf("No %s servers found.\n\n", gamename);
}
if (! slistSilent)
{
- if (gamemode == GAME_TRANSFUSION)
- Con_Printf("Looking for Transfusion servers...\n");
- else
- Con_Printf("Looking for Quake servers...\n");
+ Con_Printf("Looking for %s servers...\n", gamename);
PrintSlistHeader();
}