From 76130d3d57d3d6aad34d66d6385c62db28e95f78 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Fri, 1 Nov 2019 22:20:40 +0000 Subject: always allow black in names --- src/game/g_client.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/game/g_client.c b/src/game/g_client.c index cc3d40e..9e86d9f 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -957,11 +957,7 @@ static void ClientCleanName( const char *in, char *out, int outSize, qboolean sp break; } - // don't allow black in a name, unless if special - if( ColorIndex( *in ) == 0 && !special ) - *out++ = COLOR_WHITE; - else - *out++ = *in; + *out++ = *in; in++; continue; -- cgit