]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
cl_bob* cvars are now saved
[xonotic/darkplaces.git] / sv_main.c
index 814e0e1e1cc8ae7f47d7336d2662517ba05c0799..e3234ab4c7759a514ae7bc0913d893f3f7abdacd 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1095,7 +1095,10 @@ void SV_WriteClientdataToMessage (client_t *client, prvm_edict_t *ent, sizebuf_t
                MSG_WriteByte (msg, svc_setangle);
                for (i=0 ; i < 3 ; i++)
                        MSG_WriteAngle (msg, ent->fields.server->angles[i], sv.protocol);
-               ent->fields.server->fixangle = 0;
+               // LordHavoc: moved fixangle = 0 to the physics code so it is
+               // repeatedly sent to predicted clients even though they don't always
+               // move each frame
+               //ent->fields.server->fixangle = 0;
        }
 
        // stuff the sigil bits into the high bits of items for sbar, or else
@@ -2538,6 +2541,7 @@ prvm_required_field_t reqfields[] =
        {ev_float, "buttonuse"},
        {ev_float, "clientcolors"},
        {ev_float, "cursor_active"},
+       {ev_float, "disableclientprediction"},
        {ev_float, "fullbright"},
        {ev_float, "glow_color"},
        {ev_float, "glow_size"},