mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
use killer team not victim
This commit is contained in:
parent
52ff132e56
commit
2a6050eaf4
|
@ -205,7 +205,7 @@ void CKillMessages::OnRender()
|
||||||
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_GAME].m_Id);
|
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_GAME].m_Id);
|
||||||
|
|
||||||
int QuadOffset = 2;
|
int QuadOffset = 2;
|
||||||
if(m_aKillmsgs[r].m_VictimTeam == TEAM_RED)
|
if(m_aKillmsgs[r].m_KillerTeam == TEAM_RED)
|
||||||
++QuadOffset;
|
++QuadOffset;
|
||||||
|
|
||||||
Graphics()->RenderQuadContainerAsSprite(m_SpriteQuadContainerIndex, QuadOffset, x - 56, y - 16);
|
Graphics()->RenderQuadContainerAsSprite(m_SpriteQuadContainerIndex, QuadOffset, x - 56, y - 16);
|
||||||
|
|
Loading…
Reference in a new issue