fixed team colors

This commit is contained in:
SushiTee 2012-08-08 17:05:08 +02:00 committed by oy
parent b860c4ac61
commit 02d64ed331

View file

@ -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;