mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #7383 from furo321/align-killmessages
Align kill messages properly in demos when using `cl_showpred`
This commit is contained in:
commit
110247f08f
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue