Fix some build errors that snuck in.

This commit is contained in:
Bill Currie 2012-06-23 19:39:24 +09:00
parent c7a6293780
commit 409604ebfd
2 changed files with 2 additions and 3 deletions

View file

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

View file

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