diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 1448f7c5d..e7208fff3 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -605,7 +605,7 @@ int CEditor::UiDoValueSelector(void *pID, CUIRect *pRect, const char *pLabel, in else s_Value += m_MouseDeltaX; - if(absolute(s_Value) > Scale) + if(absolute(s_Value) >= Scale) { int Count = (int)(s_Value / Scale); s_Value = fmod(s_Value, Scale);