mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Fix some build errors that snuck in.
This commit is contained in:
parent
c7a6293780
commit
409604ebfd
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue