]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
thanks to Vic for pointing out the fact I should be using + 0.5f when dealing with...
[xonotic/darkplaces.git] / sv_main.c
index 82318441daac5cf10e03f76f22e761c92bedc615..cd283f9e295033955ed3a6583af001d2654da5da 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -907,6 +907,8 @@ void SV_WriteEntitiesToClient (client_t *client, edict_t *clent, sizebuf_t *msg)
        ent = NEXT_EDICT(sv.edicts);
        for (e = 1;e < sv.num_edicts;e++, ent = NEXT_EDICT(ent))
        {
+               if (ent->free)
+                       continue;
                flags = 0;
 
                if (ent != clent) // LordHavoc: always send player