Don't show cl_showpred in demos

This commit is contained in:
furo 2023-09-27 11:31:53 +02:00
parent 60046c7e18
commit 23477584d1

View file

@ -524,7 +524,7 @@ void CHud::RenderTextInfo()
TextRender()->RenderTextContainer(m_FPSTextContainerIndex, TextRender()->DefaultTextColor(), TextRender()->DefaultTextOutlineColor());
}
}
if(g_Config.m_ClShowpred)
if(g_Config.m_ClShowpred && Client()->State() != IClient::STATE_DEMOPLAYBACK)
{
char aBuf[64];
str_from_int(Client()->GetPredictionTime(), aBuf);