Negative dlights was causing weird effects - disable them with r_shadows

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@87 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-08-31 09:21:16 +00:00
parent 304d947a46
commit ac202273b7

View file

@ -2282,6 +2282,8 @@ void PPL_DrawWorld (void)
{
if (l->die < cl.time || !l->radius || l->noppl)
continue;
if (l->color[0] < 0 || l->color[1] < 0 || l->color[2] < 0)
continue;
if (!maxshadowlights--)
break;
l->color[0]*=2.5;