Fix for ktpro teams not changing if you connect with a blank team
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1686 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
34ea2f2292
commit
659c97580d
1 changed files with 1 additions and 1 deletions
|
@ -2686,7 +2686,7 @@ void SV_SetUpClientEdict (client_t *cl, edict_t *ent)
|
||||||
ent->v->netname = PR_SetString(svprogfuncs, cl->name);
|
ent->v->netname = PR_SetString(svprogfuncs, cl->name);
|
||||||
|
|
||||||
if (pr_teamfield)
|
if (pr_teamfield)
|
||||||
((string_t *)ent->v)[pr_teamfield] = (string_t)PR_SetString(svprogfuncs, cl->team);
|
((string_t *)ent->v)[pr_teamfield] = (string_t)(cl->team-svprogfuncs->stringtable);
|
||||||
|
|
||||||
{
|
{
|
||||||
int tc = atoi(Info_ValueForKey(cl->userinfo, "topcolor"));
|
int tc = atoi(Info_ValueForKey(cl->userinfo, "topcolor"));
|
||||||
|
|
Loading…
Reference in a new issue