mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Add AntiPing weapons button
This commit is contained in:
parent
af3b68b253
commit
14382356d9
|
@ -1794,7 +1794,13 @@ void CMenus::RenderSettingsDDRace(CUIRect MainView)
|
|||
}
|
||||
|
||||
Right.HSplitTop(20.0f, &Button, &Right);
|
||||
if(DoButton_CheckBox(&g_Config.m_ClAntiPingGrenade, Localize("AntiPing (predict grenades)"), g_Config.m_ClAntiPingGrenade, &Button))
|
||||
if(DoButton_CheckBox(&g_Config.m_ClAntiPingWeapons, Localize("AntiPing (predict weapons)"), g_Config.m_ClAntiPingWeapons, &Button))
|
||||
{
|
||||
g_Config.m_ClAntiPingWeapons ^= 1;
|
||||
}
|
||||
|
||||
Right.HSplitTop(20.0f, &Button, &Right);
|
||||
if(DoButton_CheckBox(&g_Config.m_ClAntiPingGrenade, Localize("AntiPing (predict grenade paths)"), g_Config.m_ClAntiPingGrenade, &Button))
|
||||
{
|
||||
g_Config.m_ClAntiPingGrenade ^= 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue