use killer team not victim

This commit is contained in:
Jupeyy 2018-04-09 22:11:51 +02:00
parent 52ff132e56
commit 2a6050eaf4

View file

@ -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);