1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2005-12-06 23:33:59 +00:00
parent 34ea2f2292
commit 659c97580d

View file

@ -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"));