summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:19 +0200
commita3db40cc7ae0894e5d410e22b1dd97735f88a39c (patch)
tree3c345f49feaa610bcadd82390bf4405ce4586cb2
parentc5a108ee2ab638a355df20391f33a578e2386284 (diff)
we're not racist, we just hate NIGGERs, JEWs, FAGGOTs, etc
-rw-r--r--src/game/g_client.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 4b37a64..d2663bc 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -958,11 +958,7 @@ static void ClientCleanName( const char *in, char *out, int outSize )
break;
}
- // don't allow black in a name, period
- if( ColorIndex( *in ) == 0 )
- *out++ = COLOR_WHITE;
- else
- *out++ = *in;
+ *out++ = *in;
in++;
continue;