aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-03 21:41:22 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-03 21:41:22 +0000
commit3938a26866a4311e5d100d83cd3897925075908b (patch)
treeedf6f945ab4c31f0c09cc6844bd1477b2c43bfaf /code/game
parente62ceb3c2672a11f6ea41adb93c1cf9e54ab1ef3 (diff)
downloadioquake3-aero-3938a26866a4311e5d100d83cd3897925075908b.tar.gz
ioquake3-aero-3938a26866a4311e5d100d83cd3897925075908b.zip
Revert back color code change
git-svn-id: svn://svn.icculus.org/quake3/trunk@1639 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/game')
-rw-r--r--code/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
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