mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed colour of the particles when a tee dies. Closes #331
This commit is contained in:
parent
3ea00f61cf
commit
39b531452a
|
@ -154,8 +154,8 @@ void CEffects::PlayerDeath(vec2 Pos, int Cid)
|
|||
|
||||
if(Cid >= 0)
|
||||
{
|
||||
if(g_Config.m_PlayerUseCustomColor)
|
||||
BloodColor = m_pClient->m_pSkins->GetColorV3(g_Config.m_PlayerColorBody);
|
||||
if(m_pClient->m_aClients[Cid].m_UseCustomColor)
|
||||
BloodColor = m_pClient->m_pSkins->GetColorV3(m_pClient->m_aClients[Cid].m_ColorBody);
|
||||
else
|
||||
{
|
||||
const CSkins::CSkin *s = m_pClient->m_pSkins->Get(m_pClient->m_aClients[Cid].m_SkinId);
|
||||
|
|
Loading…
Reference in a new issue