mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fix previously made mistake
This commit is contained in:
parent
29f093841c
commit
b24f12cec8
|
@ -3323,7 +3323,7 @@ int CEditor::DoProperties(CUIRect *pToolBox, CProperty *pProps, int *pIDs, int *
|
|||
}
|
||||
|
||||
if(Change != -1)
|
||||
*pNewVal = clamp(*pNewVal, pProps[Change].m_Min, pProps->m_Max);
|
||||
*pNewVal = clamp(*pNewVal, pProps[Change].m_Min, pProps[Change].m_Max);
|
||||
|
||||
return Change;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue