diff options
| author | oy <Tom_Adams@web.de> | 2010-12-07 23:54:25 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-12-07 23:54:25 +0100 |
| commit | 39b531452aa0a823729676f563db1b2c1eb438b5 (patch) | |
| tree | 69a354a9604204df19f242cf7b1eb10d6336a8fc | |
| parent | 3ea00f61cfc4725b5ecc75afbcbe51a6e60f06a2 (diff) | |
| download | zcatch-39b531452aa0a823729676f563db1b2c1eb438b5.tar.gz zcatch-39b531452aa0a823729676f563db1b2c1eb438b5.zip | |
fixed colour of the particles when a tee dies. Closes #331
| -rw-r--r-- | src/game/client/components/effects.cpp | 4 |
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); |