From d2b582b937672d9749e0b0d268da59a0a5299c4c Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 12 Feb 2006 18:22:42 +0000 Subject: [PATCH] fix uninitialized specularscale in R_Shadow_RenderSurfacesLighting git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5974 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/r_shadow.c b/r_shadow.c index f759f7e9..fdb3f477 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -2575,6 +2575,7 @@ void R_Shadow_RenderSurfacesLighting(const entity_render_t *ent, const texture_t float specularscale; qboolean dopants, doshirt; glosstexture = r_texture_black; + specularscale = 0; if (r_shadow_gloss.integer > 0) { if (texture->skin.gloss) -- 2.39.2