mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #2947
2947: Dynamic Camera button: Use g_Config.m_ClDyncam as pID r=Jupeyy a=def- Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
113ec2511a
|
@ -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