From 6cc587e8e893b7683f20e0d86c3087aa34ce268f Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 4 Jan 2005 08:16:52 +0000 Subject: [PATCH] Make sure colour 7 is used if the server said an empty lightstyle. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@715 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_rlight.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/gl/gl_rlight.c b/engine/gl/gl_rlight.c index 172da3035..0626ff789 100644 --- a/engine/gl/gl_rlight.c +++ b/engine/gl/gl_rlight.c @@ -44,6 +44,7 @@ void GLR_AnimateLight (void) if (!cl_lightstyle[j].length) { d_lightstylevalue[j] = 256; + cl_lightstyle[j].colour = 7; continue; } k = i % cl_lightstyle[j].length;