1
0
Fork 0
forked from fte/fteqw

fix to name parsing

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1762 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-01-02 22:05:47 +00:00
parent b973799d06
commit 644de1850f

View file

@ -3190,13 +3190,13 @@ int CL_PlayerColor(player_info_t *plr, int *name_ormask)
*name_ormask = CON_HIGHCHARSMASK; *name_ormask = CON_HIGHCHARSMASK;
case 8: case 8:
case 9: case 9:
c = 5; c = 6;
break; break;
case 2: // light blue case 2: // light blue
*name_ormask = CON_HIGHCHARSMASK; *name_ormask = CON_HIGHCHARSMASK;
case 13: //blue case 13: //blue
case 14: //blue case 14: //blue
c = 6; c = 5;
break; break;
default: default:
*name_ormask = CON_HIGHCHARSMASK; *name_ormask = CON_HIGHCHARSMASK;
@ -3211,7 +3211,7 @@ int CL_PlayerColor(player_info_t *plr, int *name_ormask)
if (!strcmp(plr->team, "red")) if (!strcmp(plr->team, "red"))
c = 1; c = 1;
else if (!strcmp(plr->team, "blue")) else if (!strcmp(plr->team, "blue"))
c = 6; c = 5;
else else
{ {
char *t; char *t;