remove the redundant line

This commit is contained in:
sirius 2019-10-14 17:41:19 +08:00
parent aaddc49704
commit 926414c8cf

View file

@ -104,8 +104,6 @@ void CMapLayers::EnvelopeEval(float TimeOffset, int Env, float *pChannels, void
pThis->m_CurrentLocalTick / (float)pThis->Client()->GameTickSpeed(), pThis->m_CurrentLocalTick / (float)pThis->Client()->GameTickSpeed(),
pThis->Client()->IntraGameTick()); pThis->Client()->IntraGameTick());
} }
if(!(pItem->m_Version < 2 || pItem->m_Synchronized))
s_Time += pThis->Client()->LocalTime()-s_LastLocalTime;
} }
pThis->RenderTools()->RenderEvalEnvelope(pPoints+pItem->m_StartPoint, pItem->m_NumPoints, 4, s_Time+TimeOffset, pChannels); pThis->RenderTools()->RenderEvalEnvelope(pPoints+pItem->m_StartPoint, pItem->m_NumPoints, 4, s_Time+TimeOffset, pChannels);
} }