From 5979a8b4df9f6ad40bf7df73e4736807eb5dcad4 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Wed, 5 Sep 2007 22:36:23 +0000 Subject: [PATCH] Will make teamskins work properly with funchars and uppercase letters in teamnames. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2637 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/common.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/engine/common/common.c b/engine/common/common.c index c349e5b4e..471892008 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -3017,14 +3017,14 @@ void Info_SetValueForStarKey (char *s, const char *key, const char *value, int m c = (unsigned char)*v++; #ifndef SERVERONLY // client only allows highbits on name - if (stricmp(key, "name") != 0) { - c &= 127; - if (c < 32 || c > 127) - continue; - // auto lowercase team - if (stricmp(key, "team") == 0) - c = tolower(c); - } +// if (stricmp(key, "name") != 0) { +// c &= 127; +// if (c < 32 || c > 127) +// continue; +// // auto lowercase team +// if (stricmp(key, "team") == 0) +// c = tolower(c); +// } #else if (!sv_highchars.value) { c &= 127;