put in some comments about future player dlight improvements

This commit is contained in:
Bill Currie 2001-08-19 05:41:56 +00:00
parent 7aa7bb663a
commit 7cda1c6705
2 changed files with 5 additions and 2 deletions

View file

@ -814,7 +814,9 @@ CL_LinkPlayers (void)
} else } else
VectorCopy (state->origin, org); 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 // the player object never gets added
if (j == cl.playernum) { if (j == cl.playernum) {

View file

@ -1106,7 +1106,8 @@ CL_MuzzleFlash (void)
pl = &cl.frames[parsecountmod].playerstate[i - 1]; 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); VectorCopy (pl->origin, dl->origin);
if (i - 1 == cl.playernum) if (i - 1 == cl.playernum)
AngleVectors (cl.viewangles, fv, rv, uv); AngleVectors (cl.viewangles, fv, rv, uv);