mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +00:00
remove the redundant line
This commit is contained in:
parent
aaddc49704
commit
926414c8cf
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue