From 83f960216c1c53cab853e4ffa03250456e2712fb Mon Sep 17 00:00:00 2001 From: black Date: Sat, 5 Feb 2005 20:39:45 +0000 Subject: [PATCH] -Only print queried servers once to the console. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5004 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netconn.c b/netconn.c index 53446bac..bf1d54a8 100755 --- a/netconn.c +++ b/netconn.c @@ -959,12 +959,12 @@ int NetConn_ClientParsePacket(lhnetsocket_t *mysocket, qbyte *data, int length, if (hostcache_cache[n].line1[i] != ' ') hostcache_cache[n].line1[i] -= 30; } - // if not in the slist menu we should print the server to console - if( hostcache_consoleoutput ) - Con_Printf("%s\n%s\n", hostcache_cache[n].line1, hostcache_cache[n].line2); // and finally, update the view set if( hostcache_cache[n].finished ) _HostCache_Remove( &hostcache_cache[n] ); + // else if not in the slist menu we should print the server to console (if wanted) + else if( hostcache_consoleoutput ) + Con_Printf("%s\n%s\n", hostcache_cache[n].line1, hostcache_cache[n].line2); _HostCache_Insert( &hostcache_cache[n] ); hostcache_cache[n].finished = true; -- 2.39.2