Add AntiPing weapons button

This commit is contained in:
def 2014-12-05 18:47:27 +01:00
parent af3b68b253
commit 14382356d9

View file

@ -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;
}