From d1ddd46e6492360caa1f49e6da9006039458c406 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 16 Oct 2002 22:33:16 +0000 Subject: [PATCH] oops, removed the wrong one git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2534 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_shadow.c b/r_shadow.c index 7713f75c..8dacbd34 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -576,7 +576,7 @@ void R_Shadow_GenTexCoords_Diffuse_NormalCubeMap(float *out, int numverts, const void R_Shadow_GenTexCoords_Specular_Attenuation3D(float *out, int numverts, const float *vertex, const float *svectors, const float *tvectors, const float *normals, const vec3_t relativelightorigin, const vec3_t relativeeyeorigin, float lightradius) { int i; - float lightdir[3], eyedir[3], halfdir[3], lightdirlen, ilen; + float lightdir[3], eyedir[3], halfdir[3], lightdirlen, iradius; iradius = 0.5f / lightradius; for (i = 0;i < numverts;i++, vertex += 4, svectors += 4, tvectors += 4, normals += 4, out += 4) { -- 2.39.2