]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
remove never used svc_playerposition code
[xonotic/darkplaces.git] / sv_main.c
index d888e5a03c2bdc7a82d2a01d0f76f812986a3833..f2bf0ad5018ffdfa1bfac01b0021bce15ce2e49b 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -435,6 +435,7 @@ void SV_WriteEntitiesToClient (edict_t      *clent, sizebuf_t *msg)
 // find the client's PVS
        VectorAdd (clent->v.origin, clent->v.view_ofs, org);
        pvs = SV_FatPVS (org);
+       /*
        if (dpprotocol)
        {
                MSG_WriteByte(msg, svc_playerposition);
@@ -442,6 +443,7 @@ void SV_WriteEntitiesToClient (edict_t      *clent, sizebuf_t *msg)
                MSG_WriteFloat(msg, org[1]);
                MSG_WriteFloat(msg, org[2]);
        }
+       */
 
        clentnum = EDICT_TO_PROG(clent); // LordHavoc: for comparison purposes
 // send over all entities (except the client) that touch the pvs