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
This commit is contained in:
Spoike 2005-01-04 08:16:52 +00:00
parent b3ac55613b
commit 6cc587e8e8
1 changed files with 1 additions and 0 deletions

View File

@ -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;