Small MVD tweeks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@66 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b904f27ee7
commit
407870c85a
1 changed files with 4 additions and 5 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue