From 407870c85a84616f1165f5b9ee49c901e25fc035 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 27 Aug 2004 00:48:49 +0000 Subject: [PATCH] Small MVD tweeks git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@66 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_pred.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/engine/client/cl_pred.c b/engine/client/cl_pred.c index 4416cdefa..8d03d67dd 100644 --- a/engine/client/cl_pred.c +++ b/engine/client/cl_pred.c @@ -549,7 +549,7 @@ void CL_PredictMovePNum (int pnum) if (cl_pushlatency.value > 0) Cvar_Set (&cl_pushlatency, "0"); - if (cl.paused) + if (cl.paused && !cls.demoplayback!=DPB_MVD && (!cl.spectator || !autocam[pnum])) return; #ifdef NQPROT if (cls.demoplayback!=DPB_NETQUAKE) //don't increase time in nq demos. @@ -595,12 +595,11 @@ void CL_PredictMovePNum (int pnum) SCR_EndLoadingPlaque(); } - - VectorCopy (cl.viewangles[pnum], cl.simangles[pnum]); - // this is the last frame received from the server from = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; + VectorCopy (cl.viewangles[pnum], cl.simangles[pnum]); + vel = from->playerstate[cl.playernum[pnum]].velocity; org = from->playerstate[cl.playernum[pnum]].origin; @@ -616,7 +615,7 @@ void CL_PredictMovePNum (int pnum) } } #endif - if ((cl_nopred.value|| cl.fixangle) || cls.demoplayback==DPB_MVD) + if ((cl_nopred.value|| cl.fixangle)) { VectorCopy (vel, cl.simvel[pnum]); VectorCopy (org, cl.simorg[pnum]);