diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2019-11-01 22:20:40 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2019-11-01 22:20:40 +0000 |
commit | 76130d3d57d3d6aad34d66d6385c62db28e95f78 (patch) | |
tree | f14518b92e3bac55c5f258cf87db940ead891b25 | |
parent | 17d101668039f69d09aabf76054e0d64efa9c890 (diff) |
always allow black in names
-rw-r--r-- | src/game/g_client.c | 6 |
1 files changed, 1 insertions, 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; |