mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Fixed: Players using colorsets instead of custom colors overrode their team colors.
SVN r4169 (trunk)
This commit is contained in:
parent
b93dfcf3cf
commit
ce39368796
1 changed files with 3 additions and 0 deletions
|
@ -223,6 +223,9 @@ void D_GetPlayerColor (int player, float *h, float *s, float *v, FPlayerColorSet
|
|||
|
||||
*s = clamp(ts + *s * 0.15f - 0.075f, 0.f, 1.f);
|
||||
*v = clamp(tv + *v * 0.5f - 0.25f, 0.f, 1.f);
|
||||
|
||||
// Make sure not to pass back any colorset in teamplay.
|
||||
colorset = NULL;
|
||||
}
|
||||
if (set != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue