mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Align kill messages properly in demos
This commit is contained in:
parent
28f4739e46
commit
d9beeaa8b4
|
@ -282,7 +282,7 @@ void CKillMessages::OnRender()
|
||||||
Graphics()->SetColor(1.f, 1.f, 1.f, 1.f);
|
Graphics()->SetColor(1.f, 1.f, 1.f, 1.f);
|
||||||
|
|
||||||
float StartX = Width * 1.5f - 10.0f;
|
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++)
|
for(int i = 1; i <= MAX_KILLMSGS; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue