mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Use renderinfo for player death effect
This commit is contained in:
parent
b2b3b866cd
commit
94a20d11fa
|
@ -167,7 +167,7 @@ void CEffects::PlayerDeath(vec2 Pos, int ClientID)
|
|||
if(ClientID >= 0)
|
||||
{
|
||||
if(m_pClient->m_aClients[ClientID].m_UseCustomColor)
|
||||
BloodColor = color_cast<ColorRGBA>(ColorHSLA(m_pClient->m_aClients[ClientID].m_ColorBody).UnclampLighting(0.5f));
|
||||
BloodColor = m_pClient->m_aClients[ClientID].m_RenderInfo.m_ColorBody;
|
||||
else
|
||||
{
|
||||
const CSkins::CSkin *s = m_pClient->m_pSkins->Get(m_pClient->m_aClients[ClientID].m_SkinID);
|
||||
|
|
Loading…
Reference in a new issue