mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
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:
parent
675509eecf
commit
9ecc36f1db
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue