about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-12-07 23:54:25 +0100
committeroy <Tom_Adams@web.de>2010-12-07 23:54:25 +0100
commit39b531452aa0a823729676f563db1b2c1eb438b5 (patch)
tree69a354a9604204df19f242cf7b1eb10d6336a8fc /src/game
parent3ea00f61cfc4725b5ecc75afbcbe51a6e60f06a2 (diff)
downloadzcatch-39b531452aa0a823729676f563db1b2c1eb438b5.tar.gz
zcatch-39b531452aa0a823729676f563db1b2c1eb438b5.zip
fixed colour of the particles when a tee dies. Closes #331
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/components/effects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/effects.cpp b/src/game/client/components/effects.cpp
index 45dd856e..9f99d431 100644
--- a/src/game/client/components/effects.cpp
+++ b/src/game/client/components/effects.cpp
@@ -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);