diff --git a/src/game/client/components/spectator.cpp b/src/game/client/components/spectator.cpp index 133953d91..b08a9ef93 100644 --- a/src/game/client/components/spectator.cpp +++ b/src/game/client/components/spectator.cpp @@ -293,7 +293,7 @@ void CSpectator::OnRender() TextRender()->Text(0, Width / 2.0f - (ObjWidth - 350.0f), Height / 2.0f - 280.0f + (60.f - BigFontSize) / 2.f, BigFontSize, Localize("Follow"), -1.0f); } - float x = -(ObjWidth - 30.0f), y = StartY; + float x = -(ObjWidth - 35.0f), y = StartY; int OldDDTeam = -1; @@ -410,6 +410,13 @@ void CSpectator::OnRender() TeeInfo.m_Size *= TeeSizeMod; RenderTools()->RenderTee(CAnimState::GetIdle(), &TeeInfo, EMOTE_NORMAL, vec2(1.0f, 0.0f), vec2(Width / 2.0f + x + 20.0f, Height / 2.0f + y + 20.0f), TeeAlpha); + if(m_pClient->m_aClients[m_pClient->m_Snap.m_paInfoByDDTeamName[i]->m_ClientID].m_Friend) + { + TextRender()->TextColor(1.0f, 0.3f, 0.3f, 1.0f); + TextRender()->Text(0, Width / 2.0f + x - TeeInfo.m_Size / 2.0f, Height / 2.0f + y + BoxMove + (LineHeight - FontSize) / 2.f, FontSize, "♥ ", 220.0f); + TextRender()->TextColor(1.0f, 1.0f, 1.0f, 1.0f); + } + y += LineHeight; } TextRender()->TextColor(1.0f, 1.0f, 1.0f, 1.0f);