Lets put it all back.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@989 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3fa23ffe68
commit
99b8527fff
1 changed files with 2 additions and 2 deletions
|
@ -1373,12 +1373,12 @@ void CL_LinkPacketEntities (void)
|
|||
if (cl.lerpents[s1->number].lerprate<=0)
|
||||
ent->lerpfrac = 1;
|
||||
else
|
||||
ent->lerpfrac = (cl.time-cl.lerpents[s1->number].lerptime)/cl.lerpents[s1->number].lerprate;
|
||||
ent->lerpfrac = 1-(cl.time-cl.lerpents[s1->number].lerptime)/cl.lerpents[s1->number].lerprate;
|
||||
if (ent->lerpfrac<0)
|
||||
ent->lerpfrac=0;
|
||||
if (ent->lerpfrac>1)
|
||||
ent->lerpfrac=1;
|
||||
f = ent->lerpfrac;
|
||||
f = 1-ent->lerpfrac;
|
||||
|
||||
if (cl_nolerp.value)
|
||||
f = 1;
|
||||
|
|
Loading…
Reference in a new issue