diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 531633dee..676cde8f9 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -4267,8 +4267,8 @@ void CEditor::RenderEnvelopeEditor(CUIRect View) { if(pNewEnv->m_Channels == 4) { - pNewEnv->AddPoint(0, 1,1,1,1); - pNewEnv->AddPoint(1000, 1,1,1,1); + pNewEnv->AddPoint(0, f2fx(1.0f), f2fx(1.0f), f2fx(1.0f), f2fx(1.0f)); + pNewEnv->AddPoint(1000, f2fx(1.0f), f2fx(1.0f), f2fx(1.0f), f2fx(1.0f)); } else {