Remove tick error debug message

This is shown every time demo playback ends when reaching the end of the file and it does not really help debugging.
This commit is contained in:
Robert Müller 2023-10-15 16:41:31 +02:00
parent ed92a9e8c7
commit af4b1c9c97

View file

@ -1015,17 +1015,6 @@ int CDemoPlayer::Update(bool RealTime)
m_UpdateIntraTimesFunc(); m_UpdateIntraTimesFunc();
} }
if(m_Info.m_Info.m_CurrentTick == m_Info.m_PreviousTick || m_Info.m_Info.m_CurrentTick == m_Info.m_NextTick)
{
if(m_pConsole)
{
char aBuf[256];
str_format(aBuf, sizeof(aBuf), "tick error prev=%d cur=%d next=%d",
m_Info.m_PreviousTick, m_Info.m_Info.m_CurrentTick, m_Info.m_NextTick);
m_pConsole->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "demo_player", aBuf);
}
}
return 0; return 0;
} }