Align kill messages properly in demos

This commit is contained in:
furo 2023-10-28 15:27:16 +02:00
parent 28f4739e46
commit d9beeaa8b4

View file

@ -282,7 +282,7 @@ void CKillMessages::OnRender()
Graphics()->SetColor(1.f, 1.f, 1.f, 1.f);
float StartX = Width * 1.5f - 10.0f;
float y = 30.0f + 100.0f * ((g_Config.m_ClShowfps ? 1 : 0) + g_Config.m_ClShowpred);
float y = 30.0f + 100.0f * ((g_Config.m_ClShowfps ? 1 : 0) + (g_Config.m_ClShowpred && Client()->State() != IClient::STATE_DEMOPLAYBACK));
for(int i = 1; i <= MAX_KILLMSGS; i++)
{