mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
repair the problem that class selector appear when demo playing
This commit is contained in:
parent
1090953b7d
commit
d89ae6c18c
|
@ -97,10 +97,7 @@ 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());
|
||||||
}
|
}
|
||||||
|
|
||||||
pThis->RenderTools()->RenderEvalEnvelope(pPoints+pItem->m_StartPoint, pItem->m_NumPoints, 4, s_Time+TimeOffset, pChannels);
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
{
|
||||||
if(pThis->m_pClient->m_Snap.m_pGameInfoObj) // && !(pThis->m_pClient->m_Snap.m_pGameInfoObj->m_GameStateFlags&GAMESTATEFLAG_PAUSED))
|
if(pThis->m_pClient->m_Snap.m_pGameInfoObj) // && !(pThis->m_pClient->m_Snap.m_pGameInfoObj->m_GameStateFlags&GAMESTATEFLAG_PAUSED))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue