This is why Urre's bots were crashing.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1507 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-10-20 00:03:50 +00:00
parent 675509eecf
commit 9ecc36f1db

View file

@ -2677,8 +2677,8 @@ void SV_SetUpClientEdict (client_t *cl, edict_t *ent)
((string_t *)ent->v)[pr_teamfield] = (string_t)PR_SetString(svprogfuncs, cl->team);
{
int tc = atoi(Info_ValueForKey(host_client->userinfo, "topcolor"));
int bc = atoi(Info_ValueForKey(host_client->userinfo, "bottomcolor"));
int tc = atoi(Info_ValueForKey(cl->userinfo, "topcolor"));
int bc = atoi(Info_ValueForKey(cl->userinfo, "bottomcolor"));
if (tc < 0 || tc > 13)
tc = 0;
if (bc < 0 || bc > 13)