diff --git a/nq/source/cl_ents.c b/nq/source/cl_ents.c index 32dc4ec3c..bedb715fb 100644 --- a/nq/source/cl_ents.c +++ b/nq/source/cl_ents.c @@ -381,7 +381,7 @@ CL_RelinkEntities (void) if (VectorDistance_fast (state->msg_origins[1], ent->origin) > (256 * 256)) VectorCopy (ent->origin, state->msg_origins[1]); - if (model->flags & ~EF_ROTATE) + if (ent->model->flags & ~EF_ROTATE) CL_ModelEffects (ent, i, state->glow_color); state->forcelink = false; diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index 4740ddc80..962d85aa2 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -239,8 +239,7 @@ CL_LinkPacketEntities (void) model_t *model; packet_entities_t *pack; - cl.link_sequence = cls.netchan.incoming_sequence; - pack = &cl.frames[cl.link_sequence & UPDATE_MASK].packet_entities; + pack = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK].packet_entities; for (pnum = 0; pnum < pack->num_entities; pnum++) { s1 = &pack->entities[pnum];