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:
Spoike 2005-05-07 13:23:52 +00:00
parent 3fa23ffe68
commit 99b8527fff

View file

@ -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;