mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
remove comments
This commit is contained in:
parent
0809eefc1c
commit
99725c7417
|
@ -310,7 +310,6 @@ bool CServerBrowserFilter::CServerFilter::SortCompareNumRealPlayers(int Index1,
|
||||||
{
|
{
|
||||||
CServerEntry *a = m_pServerBrowserFilter->m_ppServerlist[Index1];
|
CServerEntry *a = m_pServerBrowserFilter->m_ppServerlist[Index1];
|
||||||
CServerEntry *b = m_pServerBrowserFilter->m_ppServerlist[Index2];
|
CServerEntry *b = m_pServerBrowserFilter->m_ppServerlist[Index2];
|
||||||
// are ia allowed in vanilla ?
|
|
||||||
return (a->m_Info.m_NumPlayers - a->m_Info.m_NumBotPlayers) < (b->m_Info.m_NumPlayers - b->m_Info.m_NumBotPlayers) ||
|
return (a->m_Info.m_NumPlayers - a->m_Info.m_NumBotPlayers) < (b->m_Info.m_NumPlayers - b->m_Info.m_NumBotPlayers) ||
|
||||||
((a->m_Info.m_NumPlayers - a->m_Info.m_NumBotPlayers) == (b->m_Info.m_NumPlayers - b->m_Info.m_NumBotPlayers) && !(a->m_Info.m_Flags&IServerBrowser::FLAG_PURE) && (b->m_Info.m_Flags&IServerBrowser::FLAG_PURE));
|
((a->m_Info.m_NumPlayers - a->m_Info.m_NumBotPlayers) == (b->m_Info.m_NumPlayers - b->m_Info.m_NumBotPlayers) && !(a->m_Info.m_Flags&IServerBrowser::FLAG_PURE) && (b->m_Info.m_Flags&IServerBrowser::FLAG_PURE));
|
||||||
}
|
}
|
||||||
|
@ -327,7 +326,6 @@ bool CServerBrowserFilter::CServerFilter::SortCompareNumRealClients(int Index1,
|
||||||
{
|
{
|
||||||
CServerEntry *a = m_pServerBrowserFilter->m_ppServerlist[Index1];
|
CServerEntry *a = m_pServerBrowserFilter->m_ppServerlist[Index1];
|
||||||
CServerEntry *b = m_pServerBrowserFilter->m_ppServerlist[Index2];
|
CServerEntry *b = m_pServerBrowserFilter->m_ppServerlist[Index2];
|
||||||
// are ia allowed in vanilla ? in spec ?
|
|
||||||
return (a->m_Info.m_NumClients - a->m_Info.m_NumBotPlayers - a->m_Info.m_NumBotSpectators) < (b->m_Info.m_NumClients - b->m_Info.m_NumBotPlayers - b->m_Info.m_NumBotSpectators) ||
|
return (a->m_Info.m_NumClients - a->m_Info.m_NumBotPlayers - a->m_Info.m_NumBotSpectators) < (b->m_Info.m_NumClients - b->m_Info.m_NumBotPlayers - b->m_Info.m_NumBotSpectators) ||
|
||||||
((a->m_Info.m_NumClients - a->m_Info.m_NumBotPlayers - a->m_Info.m_NumBotSpectators) < (b->m_Info.m_NumClients - b->m_Info.m_NumBotPlayers - b->m_Info.m_NumBotSpectators) && !(a->m_Info.m_Flags&IServerBrowser::FLAG_PURE) && (b->m_Info.m_Flags&IServerBrowser::FLAG_PURE));
|
((a->m_Info.m_NumClients - a->m_Info.m_NumBotPlayers - a->m_Info.m_NumBotSpectators) < (b->m_Info.m_NumClients - b->m_Info.m_NumBotPlayers - b->m_Info.m_NumBotSpectators) && !(a->m_Info.m_Flags&IServerBrowser::FLAG_PURE) && (b->m_Info.m_Flags&IServerBrowser::FLAG_PURE));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue