]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Mar 2007 20:23:20 +0000 (20:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Mar 2007 20:23:20 +0000 (20:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7021 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 9a8397d8bee7ef7ea5324ca40d8eeec95ae62017..7c219b686528d812f984052fd4c2f5d79c4c861b 100644 (file)
@@ -2121,7 +2121,7 @@ void R_Shadow_RenderLighting(int firstvertex, int numvertices, int numtriangles,
        lightcolorbase[2] = r_shadow_rtlight->currentcolor[2] * rsurface_entity->colormod[2] * rsurface_texture->currentalpha;
        ambientscale = r_shadow_rtlight->ambientscale;
        diffusescale = r_shadow_rtlight->diffusescale;
-       specularscale = ambientscale, diffusescale, specularscale;
+       specularscale = specularscale;
        if (!r_shadow_usenormalmap.integer)
        {
                ambientscale += 1.0f * diffusescale;