mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed some warnings
This commit is contained in:
parent
397e88e1d7
commit
6df2d43f8f
|
@ -37,7 +37,7 @@ public:
|
|||
bool operator<(const CClient &Other) const
|
||||
{
|
||||
if(!(m_PlayerType&CServerInfo::CClient::PLAYERFLAG_SPEC) && ((Other.m_PlayerType&CServerInfo::CClient::PLAYERFLAG_SPEC) ||
|
||||
!(Other.m_PlayerType&CServerInfo::CClient::PLAYERFLAG_SPEC) && m_Score > Other.m_Score))
|
||||
(!(Other.m_PlayerType&CServerInfo::CClient::PLAYERFLAG_SPEC) && m_Score > Other.m_Score)))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1428,7 +1428,6 @@ void CMenus::RenderSettingsControls(CUIRect MainView)
|
|||
BottomView.HSplitTop(20.f, 0, &BottomView);
|
||||
|
||||
const float HeaderHeight = 20.0f;
|
||||
const float ItemHeight = 20.0f+2.0f;
|
||||
|
||||
static CScrollRegion s_ScrollRegion;
|
||||
vec2 ScrollOffset(0, 0);
|
||||
|
|
Loading…
Reference in a new issue