From 4001d2574bf08a45982861193409a6f52aed5376 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 9 Sep 2002 16:26:39 +0000 Subject: [PATCH] be sure to use the correct key for allocating effects dlights on players --- qw/source/cl_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index 1db75f30f..425718543 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -812,7 +812,7 @@ CL_LinkPlayers (void) VectorCopy (state->origin, org); clientplayer = false; } - CL_NewDlight (j, org, state->effects, state->glow_size, + CL_NewDlight (j + 1, org, state->effects, state->glow_size, state->glow_color); // Draw player?