mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #1687
1687: Highlight same clan as dummy too r=heinrich5991 a=12pm Fixes #1686 Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
This commit is contained in:
commit
6034bf6a85
|
@ -476,7 +476,7 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch
|
|||
|
||||
// clan
|
||||
if(str_comp(m_pClient->m_aClients[pInfo->m_ClientID].m_aClan,
|
||||
m_pClient->m_aClients[GameClient()->m_LocalIDs[0]].m_aClan) == 0)
|
||||
m_pClient->m_aClients[GameClient()->m_LocalIDs[g_Config.m_ClDummy]].m_aClan) == 0)
|
||||
{
|
||||
vec4 Color = m_pClient->m_pSkins->GetColorV4(g_Config.m_ClSameClanColor);
|
||||
TextRender()->TextColor(Color.r, Color.g, Color.b, Color.a);
|
||||
|
|
Loading…
Reference in a new issue