mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
Merge branch 'master' into windows
This commit is contained in:
@@ -211,7 +211,7 @@ bool CCustomGames::CheckTagFilter( gameserveritem_t &server )
|
||||
V_SplitString( m_szTagFilter, ",", TagList );
|
||||
for ( int i = 0; i < TagList.Count(); i++ )
|
||||
{
|
||||
if ( ( Q_strnistr( server.m_szGameTags, TagList[i], MAX_TAG_CHARACTERS ) ) == (const char*)TagsExclude() )
|
||||
if ( ( Q_strnistr( server.m_szGameTags, TagList[i], MAX_TAG_CHARACTERS ) != 0 ) == TagsExclude() )
|
||||
{
|
||||
bRetVal = false;
|
||||
break;
|
||||
|
||||
@@ -154,9 +154,10 @@ CServerBrowserDialog::~CServerBrowserDialog()
|
||||
SaveUserData();
|
||||
|
||||
if (m_pSavedData)
|
||||
{
|
||||
m_pSavedData->deleteThis();
|
||||
}
|
||||
|
||||
if( m_pFilterData )
|
||||
m_pFilterData->deleteThis();
|
||||
}
|
||||
|
||||
|
||||
@@ -813,4 +814,4 @@ void CServerBrowserDialog::OnKeyCodePressed( vgui::KeyCode code )
|
||||
}
|
||||
|
||||
BaseClass::OnKeyCodePressed( code );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user