From 549fd7c784084ea6103cceb663a9c271aeefabfe Mon Sep 17 00:00:00 2001 From: c0d3d3v Date: Fri, 1 Apr 2022 23:48:25 +0200 Subject: [PATCH] fix color of ghost --- src/game/client/components/ghost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/ghost.cpp b/src/game/client/components/ghost.cpp index 3380d64c9..b82f57f3b 100644 --- a/src/game/client/components/ghost.cpp +++ b/src/game/client/components/ghost.cpp @@ -392,8 +392,8 @@ void CGhost::InitRenderInfos(CGhostItem *pGhost) pRenderInfo->m_CustomColoredSkin = pGhost->m_Skin.m_UseCustomColor; if(pGhost->m_Skin.m_UseCustomColor) { - pRenderInfo->m_ColorBody = color_cast(ColorHSLA(pGhost->m_Skin.m_ColorBody)); - pRenderInfo->m_ColorFeet = color_cast(ColorHSLA(pGhost->m_Skin.m_ColorFeet)); + pRenderInfo->m_ColorBody = color_cast(ColorHSLA(pGhost->m_Skin.m_ColorBody).UnclampLighting()); + pRenderInfo->m_ColorFeet = color_cast(ColorHSLA(pGhost->m_Skin.m_ColorFeet).UnclampLighting()); } else {