diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 4d2a2c97d..bb108999f 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -280,8 +280,9 @@ void CEditor::EnvelopeEval(int TimeOffsetMillis, int Env, float *pChannels, void } CEnvelope *e = pThis->m_Map.m_lEnvelopes[Env]; - float t = pThis->m_AnimateTime + (TimeOffsetMillis / 1000.0f); + float t = pThis->m_AnimateTime; t *= pThis->m_AnimateSpeed; + t += (TimeOffsetMillis / 1000.0f); e->Eval(t, pChannels); }