From 42b4a8535ff9a0983d2a31f512c86ec8f8e9d224 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Thu, 21 Oct 2010 00:48:36 +0000 Subject: * (bug 4694) Reallow black in names, map it to inverse in com_ansicolor --- src/game/g_client.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/game') diff --git a/src/game/g_client.c b/src/game/g_client.c index 2ac76c73..173d2976 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -850,11 +850,7 @@ static void G_ClientCleanName( const char *in, char *out, int outSize ) *out++ = Q_COLOR_ESCAPE; - // don't allow black in a name, period - if( ColorIndex( *in ) == 0 ) - *out++ = COLOR_WHITE; - else - *out++ = *in; + *out++ = *in; len += 2; continue; -- cgit