much needed lerp fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4847 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d2c6bb1c6e
commit
e1269ddd35
1 changed files with 4 additions and 1 deletions
|
@ -2915,13 +2915,16 @@ static void CL_TransitionPacketEntities(int newsequence, packet_entities_t *newp
|
|||
sold = NULL;
|
||||
for ( ; oldpnum<oldpack->num_entities ; )
|
||||
{
|
||||
sold = &oldpack->entities[oldpnum++];
|
||||
sold = &oldpack->entities[oldpnum];
|
||||
if (sold->number >= snew->number)
|
||||
{
|
||||
if (sold->number > snew->number)
|
||||
sold = NULL; //woo, it's a new entity.
|
||||
else
|
||||
oldpnum++;
|
||||
break;
|
||||
}
|
||||
oldpnum++;
|
||||
|
||||
#ifdef RAGDOLL
|
||||
le = &cl.lerpents[sold->number];
|
||||
|
|
Loading…
Reference in a new issue