diff --git a/datasrc/deadtee.png b/datasrc/deadtee.png index 80a4504c0..c2e69a0c1 100644 Binary files a/datasrc/deadtee.png and b/datasrc/deadtee.png differ diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index d7342f2e6..8adc3a31c 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include "scoreboard.h" @@ -258,7 +259,12 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch Graphics()->BlendNormal(); Graphics()->TextureSet(g_pData->m_aImages[IMAGE_DEADTEE].m_Id); Graphics()->QuadsBegin(); - IGraphics::CQuadItem QuadItem(TeeOffset, y, 64*TeeSizeMod, 64*TeeSizeMod); + if(m_pClient->m_GameInfo.m_GameFlags&GAMEFLAG_TEAMS) + { + vec4 Color = m_pClient->m_pSkins->GetColorV4(m_pClient->m_pSkins->GetTeamColor(true, 0, m_pClient->m_aClients[pInfo->m_ClientID].m_Team, SKINPART_BODY), false); + Graphics()->SetColor(Color.r, Color.g, Color.b, Color.a); + } + IGraphics::CQuadItem QuadItem(TeeOffset, y-5.0f-Spacing/2.0f, 64*TeeSizeMod, 64*TeeSizeMod); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); }