diff options
Diffstat (limited to 'code/game')
| -rw-r--r-- | code/game/g_client.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/g_client.c b/code/game/g_client.c index 0d812ed..2e968af 100644 --- a/code/game/g_client.c +++ b/code/game/g_client.c @@ -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  | 
