fixed colour of the particles when a tee dies. Closes #331

This commit is contained in:
oy 2010-12-07 23:54:25 +01:00
parent 3ea00f61cf
commit 39b531452a

View file

@ -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);