removed unused 'minlight' option from dlight struct, and made muzzleflash light maller
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Nov 2000 08:37:15 +0000 (08:37 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Nov 2000 08:37:15 +0000 (08:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@87 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c
r_light.h

index e0ee109..2656281 100644 (file)
--- 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;
                }
index ac6d256..b52a4cd 100644 (file)
--- 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