From 8371361ec35ecddcc928a22b5ddd1e39acdbed9e Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sat, 18 Nov 2000 08:37:15 +0000 Subject: [PATCH] removed unused 'minlight' option from dlight struct, and made muzzleflash light maller git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@87 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 3 +-- r_light.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cl_main.c b/cl_main.c index e0ee1093..2656281a 100644 --- a/cl_main.c +++ b/cl_main.c @@ -537,8 +537,7 @@ void CL_RelinkEntities (void) AngleVectors (ent->angles, fv, rv, uv); VectorMA (dl->origin, 18, fv, dl->origin); - dl->radius = 200 + (rand()&31); - dl->minlight = 32; + dl->radius = 100 + (rand()&31); dl->die = cl.time + 0.1; dl->color[0] = 1.0;dl->color[1] = 1.0;dl->color[2] = 1.0; } diff --git a/r_light.h b/r_light.h index ac6d2563..b52a4cdc 100644 --- a/r_light.h +++ b/r_light.h @@ -7,7 +7,6 @@ typedef struct float radius; float die; // stop lighting after this time float decay; // drop this each second - float minlight; // don't add when contributing less int key; vec3_t color; // LordHavoc: colored lighting qboolean dark; // subtracts light instead of adding -- 2.39.2