From 659c97580dcbde57e372f4b3c3537dd8cbb695c7 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 6 Dec 2005 23:33:59 +0000 Subject: [PATCH] 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 --- engine/server/sv_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 895378d22..93fdac460 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -2686,7 +2686,7 @@ void SV_SetUpClientEdict (client_t *cl, edict_t *ent) ent->v->netname = PR_SetString(svprogfuncs, cl->name); 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"));