diff options
Diffstat (limited to 'src/engine/client/srvbrowse.cpp')
| -rw-r--r-- | src/engine/client/srvbrowse.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/engine/client/srvbrowse.cpp b/src/engine/client/srvbrowse.cpp index 7330850b..b9eeac11 100644 --- a/src/engine/client/srvbrowse.cpp +++ b/src/engine/client/srvbrowse.cpp @@ -109,13 +109,6 @@ bool CServerBrowser::SortCompareGametype(int Index1, int Index2) const return str_comp(a->m_Info.m_aGameType, b->m_Info.m_aGameType) < 0; } -bool CServerBrowser::SortCompareProgression(int Index1, int Index2) const -{ - CServerEntry *a = m_ppServerlist[Index1]; - CServerEntry *b = m_ppServerlist[Index2]; - return a->m_Info.m_Progression < b->m_Info.m_Progression; -} - bool CServerBrowser::SortCompareNumPlayers(int Index1, int Index2) const { CServerEntry *a = m_ppServerlist[Index1]; @@ -257,8 +250,6 @@ void CServerBrowser::Sort() std::sort(m_pSortedServerlist, m_pSortedServerlist+m_NumSortedServers, SortWrap(this, &CServerBrowser::SortCompareNumPlayers)); else if(g_Config.m_BrSort == IServerBrowser::SORT_GAMETYPE) std::sort(m_pSortedServerlist, m_pSortedServerlist+m_NumSortedServers, SortWrap(this, &CServerBrowser::SortCompareGametype)); - else if(g_Config.m_BrSort == IServerBrowser::SORT_PROGRESSION) - std::sort(m_pSortedServerlist, m_pSortedServerlist+m_NumSortedServers, SortWrap(this, &CServerBrowser::SortCompareProgression)); // invert the list if requested if(g_Config.m_BrSortOrder) |