diff --git a/code/q3_ui/ui_servers2.c b/code/q3_ui/ui_servers2.c index 73e41b65..48308053 100644 --- a/code/q3_ui/ui_servers2.c +++ b/code/q3_ui/ui_servers2.c @@ -717,38 +717,6 @@ static void ArenaServers_Insert( char* adrstr, char* info, int pingtime ) } -/* -================= -ArenaServers_InsertFavorites - -Insert nonresponsive address book entries into display lists. -================= -*/ -void ArenaServers_InsertFavorites( void ) -{ - int i; - int j; - char info[MAX_INFO_STRING]; - - // resync existing results with new or deleted cvars - info[0] = '\0'; - Info_SetValueForKey( info, "hostname", "No Response" ); - for (i=0; i= g_numfavoriteservers) - { - // not in list, add it - ArenaServers_Insert( g_arenaservers.favoriteaddresses[i], info, ArenaServers_MaxPing() ); - } - } -} - - /* ================= ArenaServers_LoadFavorites @@ -832,12 +800,6 @@ static void ArenaServers_StopRefresh( void ) g_arenaservers.refreshservers = qfalse; - if (g_servertype == UIAS_FAVORITES) - { - // nonresponsive favorites must be shown - ArenaServers_InsertFavorites(); - } - // final tally if (g_arenaservers.numqueriedservers >= 0) { @@ -931,6 +893,12 @@ static void ArenaServers_DoRefresh( void ) // stale it out info[0] = '\0'; time = maxPing; + + // set hostname for nonresponsive favorite server + if (g_servertype == UIAS_FAVORITES) { + Info_SetValueForKey( info, "hostname", adrstr ); + Info_SetValueForKey( info, "game", "???" ); + } } else {