Revert back color code change
This commit is contained in:
parent
b433f3d01c
commit
b2c1618f36
2 changed files with 3 additions and 3 deletions
|
@ -632,7 +632,7 @@ static void ClientCleanName(const char *in, char *out, int outSize)
|
|||
{
|
||||
colorlessLen--;
|
||||
|
||||
if(*in == COLOR_BLACK)
|
||||
if(ColorIndex(*in) == 0)
|
||||
{
|
||||
// Disallow color black in names to prevent players
|
||||
// from getting advantage playing in front of black backgrounds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue