From 3938a26866a4311e5d100d83cd3897925075908b Mon Sep 17 00:00:00 2001 From: thilo Date: Sat, 3 Oct 2009 21:41:22 +0000 Subject: Revert back color code change git-svn-id: svn://svn.icculus.org/quake3/trunk@1639 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/game/g_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/game') 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 -- cgit v1.2.3