]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - svvm_cmds.c
rewrote server sendstates building code, no longer builds two
[xonotic/darkplaces.git] / svvm_cmds.c
index 470b7366e28e938ee3b659dd8070719f04e72324..f47c05b091013258abc24df0ae97e5b2157164f8 100644 (file)
@@ -1109,7 +1109,6 @@ sizebuf_t *WriteDest (void)
        int             entnum;
        int             dest;
        prvm_edict_t    *ent;
-       extern sizebuf_t *sv2csqcbuf;
 
        dest = (int)PRVM_G_FLOAT(OFS_PARM0);
        switch (dest)
@@ -1137,7 +1136,7 @@ sizebuf_t *WriteDest (void)
                return &sv.signon;
 
        case MSG_ENTITY:
-               return sv2csqcbuf;
+               return sv.writeentitiestoclient_msg;
        }
 
        return NULL;