From 94a20d11facde5a4487a1dec60abd4f535932848 Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Thu, 8 Oct 2020 21:54:53 +0200 Subject: [PATCH] Use renderinfo for player death effect --- src/game/client/components/effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/effects.cpp b/src/game/client/components/effects.cpp index c465b5fe5..ede74c0d6 100644 --- a/src/game/client/components/effects.cpp +++ b/src/game/client/components/effects.cpp @@ -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(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);