seems to fix the problems with server sending csqc ent packets when there are no csqc ents.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1810 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-01-06 23:57:54 +00:00
parent 24c2bf2d03
commit 3d5b4225db

View file

@ -373,7 +373,7 @@ void SV_EmitCSQCUpdate(client_t *client, sizebuf_t *msg)
} }
for (en = 1; en < sv.num_edicts; en++) for (en = 1; en < sv.num_edicts; en++)
{ {
if (client->csqcentversions[en] && (client->csqcentversions[en] != sv.csqcentversion[en])) if (client->csqcentversions[en] > 0 && (client->csqcentversions[en] != sv.csqcentversion[en]))
{ {
ent = EDICT_NUM(svprogfuncs, en); ent = EDICT_NUM(svprogfuncs, en);
// if (!ent->isfree) // if (!ent->isfree)