Style fixes

This commit is contained in:
fokkonaut 2019-07-19 02:06:33 +02:00
parent 78f52629e4
commit 3edaf4b8cd

View file

@ -223,13 +223,8 @@ void CMenus::RenderSettingsGeneral(CUIRect MainView)
CheckSettings = true;
}
if (CheckSettings)
{
if (s_ClShowConsole == g_Config.m_ClShowConsole)
m_NeedRestartGeneral = false;
else
m_NeedRestartGeneral = true;
}
if(CheckSettings)
m_NeedRestartGeneral = s_ClShowConsole != g_Config.m_ClShowConsole;
#endif
// auto statboard screenshot
@ -2173,12 +2168,7 @@ void CMenus::RenderSettingsDDNet(CUIRect MainView)
}
if(CheckSettings)
{
if(s_InpMouseOld == g_Config.m_InpMouseOld)
m_NeedRestartDDNet = false;
else
m_NeedRestartDDNet = true;
}
m_NeedRestartDDNet = s_InpMouseOld != g_Config.m_InpMouseOld;
CUIRect aRects[2];
Left.HSplitTop(5.0f, &Button, &Left);