]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 e0ee1093426ec1f21af9639df040c8d648ed6227..2656281a43a40755ce3b31f752876a8cf4062e1b 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 ac6d2563bdcb2f7eba706974c46340b7b548e1f0..b52a4cdc67a5db6ebcdb1f8aab41dbeafc14f08b 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