mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Dynamic Camera button: Use g_Config.m_ClDyncam as pID
This commit is contained in:
parent
16f965a0e6
commit
e4023cb18b
|
@ -91,7 +91,7 @@ void CMenus::RenderSettingsGeneral(CUIRect MainView)
|
|||
// dynamic camera
|
||||
Left.HSplitTop(20.0f, &Button, &Left);
|
||||
bool IsDyncam = g_Config.m_ClDyncam || g_Config.m_ClMouseFollowfactor > 0;
|
||||
if(DoButton_CheckBox(&IsDyncam, Localize("Dynamic Camera"), IsDyncam, &Button))
|
||||
if(DoButton_CheckBox(&g_Config.m_ClDyncam, Localize("Dynamic Camera"), IsDyncam, &Button))
|
||||
{
|
||||
if(IsDyncam)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue