fix previously made mistake

This commit is contained in:
Andrii 2020-05-17 04:16:43 +03:00 committed by heinrich5991
parent 29f093841c
commit b24f12cec8

View file

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