From 3d5b4225dbc21e4d1eac646fea94a109c4542612 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 6 Jan 2006 23:57:54 +0000 Subject: [PATCH] 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 --- engine/server/sv_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/sv_ents.c b/engine/server/sv_ents.c index 03afe8530..49918ab03 100644 --- a/engine/server/sv_ents.c +++ b/engine/server/sv_ents.c @@ -373,7 +373,7 @@ void SV_EmitCSQCUpdate(client_t *client, sizebuf_t *msg) } 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); // if (!ent->isfree)