fixed some warnings

This commit is contained in:
oy 2019-02-03 20:04:17 +01:00
parent 397e88e1d7
commit 6df2d43f8f
2 changed files with 1 additions and 2 deletions

View file

@ -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;
}

View file

@ -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);