Server browser filter fix

This commit is contained in:
Marco Cawthorne 2017-11-10 18:16:44 -06:00
parent 3cba8f212d
commit 5b214fffbd
2 changed files with 2 additions and 2 deletions

View file

@ -120,10 +120,10 @@ void Menu_Multiplayer( void ) {
// Initialize it on the first run
if ( iSelectedServer == -1 ) {
localcmd( "com_protocolname FTE-Quake\n" );
localcmd( "com_protocolname FreeCS\n" );
//clear the filter
resethostcachemasks();
sethostcachemaskstring( 0, gethostcacheindexforkey( "gamedir" ), "freecs", SLIST_TEST_EQUAL );
//sethostcachemaskstring( 0, gethostcacheindexforkey( "gamedir" ), "freecs", SLIST_TEST_EQUAL );
sethostcachesort( gethostcacheindexforkey( "ping" ), FALSE );
refreshhostcache();
resorthostcache();

Binary file not shown.