From 6df2d43f8fa6fc0687c91aab318ab8522a11f9f5 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 3 Feb 2019 20:04:17 +0100 Subject: [PATCH] fixed some warnings --- src/engine/serverbrowser.h | 2 +- src/game/client/components/menus_settings.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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);