From 7cda1c6705b2e2a1678ae01355c9f1da5950cfc7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 19 Aug 2001 05:41:56 +0000 Subject: [PATCH] put in some comments about future player dlight improvements --- qw/source/cl_ents.c | 4 +++- qw/source/cl_parse.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index 47a7a189d..eb74f14ce 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -814,7 +814,9 @@ CL_LinkPlayers (void) } else VectorCopy (state->origin, org); - CL_NewDlight (j, org, state->effects); + CL_NewDlight (j, org, state->effects); //FIXME: + // appearently, this should be j+1, but that seems nasty for some + // things (due to lack of lights?), so I'm leaving this as is for now. // the player object never gets added if (j == cl.playernum) { diff --git a/qw/source/cl_parse.c b/qw/source/cl_parse.c index 0be576c8e..dffe929c8 100644 --- a/qw/source/cl_parse.c +++ b/qw/source/cl_parse.c @@ -1106,7 +1106,8 @@ CL_MuzzleFlash (void) pl = &cl.frames[parsecountmod].playerstate[i - 1]; - dl = R_AllocDlight (i); + dl = R_AllocDlight (i); //FIXME + // this interfers with powerup glows, but we need more lights. VectorCopy (pl->origin, dl->origin); if (i - 1 == cl.playernum) AngleVectors (cl.viewangles, fv, rv, uv);