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
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) {

View File

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