From 4314885b5b63738a9a42f58f4e4215c563596b57 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 6 Jun 2002 04:42:15 +0000 Subject: [PATCH] you know? it really helps if you test the right variable :P probably something from my copy-reduction efforts :/ --- nq/source/cl_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nq/source/cl_main.c b/nq/source/cl_main.c index e3b4b2fa0..1686e9130 100644 --- a/nq/source/cl_main.c +++ b/nq/source/cl_main.c @@ -591,9 +591,9 @@ CL_RelinkEntities (void) if (ent->model->flags & EF_ROTATE) ent->angles[1] = bobjrotate; - if (state->baseline.effects & EF_BRIGHTFIELD) + if (state->effects & EF_BRIGHTFIELD) R_EntityParticles (ent); - if (state->baseline.effects & EF_MUZZLEFLASH) { + if (state->effects & EF_MUZZLEFLASH) { vec3_t fv, rv, uv; dl = R_AllocDlight (i); @@ -611,7 +611,7 @@ CL_RelinkEntities (void) dl->color[2] = 0.05; } } - CL_NewDlight (i, ent->origin, state->baseline.effects); + CL_NewDlight (i, ent->origin, state->effects); if (VectorDistance_fast(state->msg_origins[1], ent->origin) > (256*256)) VectorCopy (ent ->origin, state->msg_origins[1]); if (ent->model->flags & EF_ROCKET) {