mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #1190 from ChillerDragon/DummyButton
Better button id for dummy settings (thanks to deen)
This commit is contained in:
commit
394457c219
|
@ -295,7 +295,7 @@ void CMenus::RenderSettingsPlayer(CUIRect MainView)
|
|||
m_NeedSendinfo = true;
|
||||
}
|
||||
|
||||
if(DoButton_CheckBox(&g_Config.m_ClShowKillMessages, Localize("Dummy settings"), m_Dummy, &Dummy))
|
||||
if(DoButton_CheckBox(&m_Dummy, Localize("Dummy settings"), m_Dummy, &Dummy))
|
||||
{
|
||||
m_Dummy ^= 1;
|
||||
}
|
||||
|
@ -412,7 +412,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView)
|
|||
|
||||
Dummy.HSplitTop(20.0f, &DummyLabel, &Dummy);
|
||||
|
||||
if(DoButton_CheckBox(&g_Config.m_ClShowKillMessages, Localize("Dummy settings"), m_Dummy, &DummyLabel))
|
||||
if(DoButton_CheckBox(&m_Dummy, Localize("Dummy settings"), m_Dummy, &DummyLabel))
|
||||
{
|
||||
m_Dummy ^= 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue