]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
a big change with a little description...
[xonotic/darkplaces.git] / sv_main.c
index 330a9ba712fdf731635c0060d49a65bd1c2ca164..59da2be28ad1fa1485a1892741c9b30e1c965919 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -483,6 +483,8 @@ void SV_WriteEntitiesToClient (client_t *client, edict_t *clent, sizebuf_t *msg)
                MSG_WriteFloat(msg, org[2]);
        }
        */
+       MSG_WriteByte(msg, svc_entitiesbegin);
+       MSG_WriteShort(msg, 1);
 
        clentnum = EDICT_TO_PROG(clent); // LordHavoc: for comparison purposes
 // send over all entities (except the client) that touch the pvs
@@ -744,6 +746,9 @@ void SV_WriteEntitiesToClient (client_t *client, edict_t *clent, sizebuf_t *msg)
                if (bits & U_FRAME2)    MSG_WriteByte(msg, (int)ent->v.frame >> 8);
                if (bits & U_MODEL2)    MSG_WriteByte(msg, (int)ent->v.modelindex >> 8);
        }
+
+       MSG_WriteByte(msg, svc_entitiesend);
+       MSG_WriteShort(msg, MAX_EDICTS);
 }
 
 /*