fix lag issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4890 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2015-06-08 02:55:29 +00:00
parent 16a62f26a1
commit a1159e3e2b

View file

@ -884,7 +884,8 @@ void CL_PredictMovePNum (int seat)
}
}
simtime -= cls.latency;
if (cls.demoplayback == DPB_QUAKEWORLD)
simtime -= cls.latency;
simtime += bound(-0.5, cl_predict_timenudge.value, 0.5);
pv->nolocalplayer = !!(cls.fteprotocolextensions2 & PEXT2_REPLACEMENTDELTAS) || (cls.protocol != CP_QUAKEWORLD);