From f9ab06476d57c465e3ee94dc765432966d8b6535 Mon Sep 17 00:00:00 2001 From: Learath Date: Tue, 30 Apr 2019 19:49:53 +0300 Subject: [PATCH] Lighten tee colors of others --- src/game/client/gameclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 3b4cd09e8..fb1b5adb1 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -1026,8 +1026,8 @@ void CGameClient::OnNewSnapshot() if(m_aClients[ClientID].m_aSkinName[0] == 'x' || m_aClients[ClientID].m_aSkinName[1] == '_') str_copy(m_aClients[ClientID].m_aSkinName, "default", 64); - m_aClients[ClientID].m_SkinInfo.m_ColorBody = color_cast(ColorHSLA(m_aClients[ClientID].m_ColorBody)); - m_aClients[ClientID].m_SkinInfo.m_ColorFeet = color_cast(ColorHSLA(m_aClients[ClientID].m_ColorFeet)); + m_aClients[ClientID].m_SkinInfo.m_ColorBody = color_cast(ColorHSLA(m_aClients[ClientID].m_ColorBody).Lighten()); + m_aClients[ClientID].m_SkinInfo.m_ColorFeet = color_cast(ColorHSLA(m_aClients[ClientID].m_ColorFeet).Lighten()); m_aClients[ClientID].m_SkinInfo.m_Size = 64; // find new skin