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:
parent
16a62f26a1
commit
a1159e3e2b
|
@ -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);
|
simtime += bound(-0.5, cl_predict_timenudge.value, 0.5);
|
||||||
|
|
||||||
pv->nolocalplayer = !!(cls.fteprotocolextensions2 & PEXT2_REPLACEMENTDELTAS) || (cls.protocol != CP_QUAKEWORLD);
|
pv->nolocalplayer = !!(cls.fteprotocolextensions2 & PEXT2_REPLACEMENTDELTAS) || (cls.protocol != CP_QUAKEWORLD);
|
||||||
|
|
Loading…
Reference in New Issue