Unquakified some prints.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1363 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-24 14:50:14 +00:00
parent 4be832f1b3
commit ab44804260

View file

@ -348,10 +348,18 @@ static void ParsePrint(sv_t *tv, netmsg_t *m, int to, unsigned int mask)
{ {
for (t = (unsigned char*)text; *t; t++) for (t = (unsigned char*)text; *t; t++)
{ {
if (*t > 128) if (*t >= 146 && *t < 156)
*t = *t - 146 + '0';
if (*t == 143)
*t = '.';
if (*t == 157 || *t == 158 || *t == 159)
*t = '-';
if (*t >= 128)
*t -= 128; *t -= 128;
if (*t == 16) if (*t == 16)
*t = '['; *t = '[';
if (*t == 17)
*t = ']';
} }
printf("%s", text); printf("%s", text);
} }