From d88b35980f7ec56e647eb304a9a6c51673b207e2 Mon Sep 17 00:00:00 2001 From: SushiTee Date: Wed, 8 Aug 2012 17:05:08 +0200 Subject: [PATCH] fixed team colors --- src/game/client/components/skins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/skins.cpp b/src/game/client/components/skins.cpp index adcf7fdf7..9ec0cf13a 100644 --- a/src/game/client/components/skins.cpp +++ b/src/game/client/components/skins.cpp @@ -342,7 +342,7 @@ int CSkins::GetTeamColor(int UseCustomColors, int PartColor, int Team, int Part) int MinLgt = Dark + 64*(1.0f-Dark); int MaxLgt = Dark + 191*(1.0f-Dark); - int Hue = (PartColor>>16)&0xff; + int Hue = 0; int Sat = (PartColor>>8)&0xff; int Lgt = PartColor&0xff;