diff --git a/src/engine/serverbrowser.h b/src/engine/serverbrowser.h index 9af753231..5f7c43e8b 100644 --- a/src/engine/serverbrowser.h +++ b/src/engine/serverbrowser.h @@ -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; } diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 1a482f0a1..cb2c575da 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -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);