mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fixed team colors
This commit is contained in:
parent
af7999e17b
commit
d88b35980f
|
@ -342,7 +342,7 @@ int CSkins::GetTeamColor(int UseCustomColors, int PartColor, int Team, int Part)
|
||||||
int MinLgt = Dark + 64*(1.0f-Dark);
|
int MinLgt = Dark + 64*(1.0f-Dark);
|
||||||
int MaxLgt = Dark + 191*(1.0f-Dark);
|
int MaxLgt = Dark + 191*(1.0f-Dark);
|
||||||
|
|
||||||
int Hue = (PartColor>>16)&0xff;
|
int Hue = 0;
|
||||||
int Sat = (PartColor>>8)&0xff;
|
int Sat = (PartColor>>8)&0xff;
|
||||||
int Lgt = PartColor&0xff;
|
int Lgt = PartColor&0xff;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue