mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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)
|
if (cl_pushlatency.value > 0)
|
||||||
Cvar_Set (&cl_pushlatency, "0");
|
Cvar_Set (&cl_pushlatency, "0");
|
||||||
|
|
||||||
if (cl.paused)
|
if (cl.paused && !cls.demoplayback!=DPB_MVD && (!cl.spectator || !autocam[pnum]))
|
||||||
return;
|
return;
|
||||||
#ifdef NQPROT
|
#ifdef NQPROT
|
||||||
if (cls.demoplayback!=DPB_NETQUAKE) //don't increase time in nq demos.
|
if (cls.demoplayback!=DPB_NETQUAKE) //don't increase time in nq demos.
|
||||||
|
@ -595,12 +595,11 @@ void CL_PredictMovePNum (int pnum)
|
||||||
SCR_EndLoadingPlaque();
|
SCR_EndLoadingPlaque();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VectorCopy (cl.viewangles[pnum], cl.simangles[pnum]);
|
|
||||||
|
|
||||||
// this is the last frame received from the server
|
// this is the last frame received from the server
|
||||||
from = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK];
|
from = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK];
|
||||||
|
|
||||||
|
VectorCopy (cl.viewangles[pnum], cl.simangles[pnum]);
|
||||||
|
|
||||||
vel = from->playerstate[cl.playernum[pnum]].velocity;
|
vel = from->playerstate[cl.playernum[pnum]].velocity;
|
||||||
org = from->playerstate[cl.playernum[pnum]].origin;
|
org = from->playerstate[cl.playernum[pnum]].origin;
|
||||||
|
|
||||||
|
@ -616,7 +615,7 @@ void CL_PredictMovePNum (int pnum)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if ((cl_nopred.value|| cl.fixangle) || cls.demoplayback==DPB_MVD)
|
if ((cl_nopred.value|| cl.fixangle))
|
||||||
{
|
{
|
||||||
VectorCopy (vel, cl.simvel[pnum]);
|
VectorCopy (vel, cl.simvel[pnum]);
|
||||||
VectorCopy (org, cl.simorg[pnum]);
|
VectorCopy (org, cl.simorg[pnum]);
|
||||||
|
|
Loading…
Reference in a new issue