mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #1110
1110: Fix killmessage flag render r=def- a=Jupeyy Co-authored-by: Jupeyy <jupjopjap@gmail.com>
This commit is contained in:
commit
73cc3a147b
|
@ -1596,6 +1596,9 @@ public:
|
|||
|
||||
// render non outlined
|
||||
Graphics()->QuadsDrawCurrentVertices(false);
|
||||
|
||||
// reset
|
||||
Graphics()->SetColor(1.f, 1.f, 1.f, 1.f);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -205,7 +205,7 @@ void CKillMessages::OnRender()
|
|||
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_GAME].m_Id);
|
||||
|
||||
int QuadOffset = 2;
|
||||
if(m_aKillmsgs[r].m_VictimTeam == TEAM_RED)
|
||||
if(m_aKillmsgs[r].m_KillerTeam == TEAM_RED)
|
||||
++QuadOffset;
|
||||
|
||||
Graphics()->RenderQuadContainerAsSprite(m_SpriteQuadContainerIndex, QuadOffset, x - 56, y - 16);
|
||||
|
|
Loading…
Reference in a new issue