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:
parent
b3ac55613b
commit
6cc587e8e8
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ void GLR_AnimateLight (void)
|
||||||
if (!cl_lightstyle[j].length)
|
if (!cl_lightstyle[j].length)
|
||||||
{
|
{
|
||||||
d_lightstylevalue[j] = 256;
|
d_lightstylevalue[j] = 256;
|
||||||
|
cl_lightstyle[j].colour = 7;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
k = i % cl_lightstyle[j].length;
|
k = i % cl_lightstyle[j].length;
|
||||||
|
|
Loading…
Reference in a new issue