From 651d6a4529ef30eacebcf5612d431e5d2bba209e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 12 Oct 2025 04:12:43 +0500 Subject: [PATCH] engine: client: remove useless messages in console about scanned servers --- engine/client/cl_main.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index b26b988b..eeb2b6fb 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -1964,10 +1964,7 @@ static void CL_ParseStatusMessage( netadr_t from, sizebuf_t *msg ) CL_FixupColorStringsForInfoString( s, infostring, sizeof( infostring )); if( !COM_CheckString( Info_ValueForKey( infostring, "gamedir" ))) - { - Con_Printf( "^1Server^7: %s, Info: %s\n", NET_AdrToString( from ), infostring ); return; // unsupported proto - } Info_RemoveKey( infostring, "gs" ); // don't let servers pretend they're something else @@ -1976,17 +1973,10 @@ static void CL_ParseStatusMessage( netadr_t from, sizebuf_t *msg ) { Info_SetValueForKey( infostring, "legacy", "1", sizeof( infostring )); Info_SetValueForKey( infostring, "p", "48", sizeof( infostring )); - Con_Printf( "^3Server^7: %s, Game: %s\n", NET_AdrToString( from ), Info_ValueForKey( infostring, "gamedir" )); } else if( !Q_strcmp( p, "48" )) { Info_SetValueForKey( infostring, "legacy", "1", sizeof( infostring )); - Con_Printf( "^3Server^7: %s, Game: %s\n", NET_AdrToString( from ), Info_ValueForKey( infostring, "gamedir" )); - } - else - { - // more info about servers - Con_Printf( "^2Server^7: %s, Game: %s\n", NET_AdrToString( from ), Info_ValueForKey( infostring, "gamedir" )); } UI_AddServerToList( from, infostring );