should make clients more stable... though I'm not sure if this is a good thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@263 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dc91267fff
commit
19e99274fd
1 changed files with 2 additions and 0 deletions
|
@ -577,6 +577,8 @@ entity_state_t *CL_FindOldPacketEntity(int num)
|
||||||
int pnum;
|
int pnum;
|
||||||
entity_state_t *s1;
|
entity_state_t *s1;
|
||||||
packet_entities_t *pack;
|
packet_entities_t *pack;
|
||||||
|
if (!cls.netchan.incoming_sequence)
|
||||||
|
return NULL;
|
||||||
pack = &cl.frames[(cls.netchan.incoming_sequence-1)&UPDATE_MASK].packet_entities;
|
pack = &cl.frames[(cls.netchan.incoming_sequence-1)&UPDATE_MASK].packet_entities;
|
||||||
|
|
||||||
for (pnum=0 ; pnum<pack->num_entities ; pnum++)
|
for (pnum=0 ; pnum<pack->num_entities ; pnum++)
|
||||||
|
|
Loading…
Reference in a new issue