mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Revert "Revert "Revert "Add option for weapons prediction"""
This reverts commit 99c928fc17
.
This commit is contained in:
parent
0802177658
commit
e096cb56a0
|
@ -1793,23 +1793,17 @@ void CMenus::RenderSettingsDDRace(CUIRect MainView)
|
||||||
}
|
}
|
||||||
|
|
||||||
Right.HSplitTop(20.0f, &Button, &Right);
|
Right.HSplitTop(20.0f, &Button, &Right);
|
||||||
if(DoButton_CheckBox(&g_Config.m_ClAntiPing, Localize("AntiPing: predict other players"), g_Config.m_ClAntiPing, &Button))
|
if(DoButton_CheckBox(&g_Config.m_ClAntiPing, Localize("AntiPing (predict other players)"), g_Config.m_ClAntiPing, &Button))
|
||||||
{
|
{
|
||||||
g_Config.m_ClAntiPing ^= 1;
|
g_Config.m_ClAntiPing ^= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
Right.HSplitTop(20.0f, &Button, &Right);
|
Right.HSplitTop(20.0f, &Button, &Right);
|
||||||
if(DoButton_CheckBox(&g_Config.m_ClAntiPingGrenade, Localize("AntiPing: predict grenade path"), g_Config.m_ClAntiPingGrenade, &Button))
|
if(DoButton_CheckBox(&g_Config.m_ClAntiPingGrenade, Localize("AntiPing (predict grenades)"), g_Config.m_ClAntiPingGrenade, &Button))
|
||||||
{
|
{
|
||||||
g_Config.m_ClAntiPingGrenade ^= 1;
|
g_Config.m_ClAntiPingGrenade ^= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
Right.HSplitTop(20.0f, &Button, &Right);
|
|
||||||
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);
|
Right.HSplitTop(20.0f, &Button, &Right);
|
||||||
if(DoButton_CheckBox(&g_Config.m_ClUnpredictedShadow, Localize("Show unpredicted shadow tee"), g_Config.m_ClUnpredictedShadow, &Button))
|
if(DoButton_CheckBox(&g_Config.m_ClUnpredictedShadow, Localize("Show unpredicted shadow tee"), g_Config.m_ClUnpredictedShadow, &Button))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue