mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
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:
parent
304d947a46
commit
ac202273b7
1 changed files with 2 additions and 0 deletions
|
@ -2282,6 +2282,8 @@ void PPL_DrawWorld (void)
|
||||||
{
|
{
|
||||||
if (l->die < cl.time || !l->radius || l->noppl)
|
if (l->die < cl.time || !l->radius || l->noppl)
|
||||||
continue;
|
continue;
|
||||||
|
if (l->color[0] < 0 || l->color[1] < 0 || l->color[2] < 0)
|
||||||
|
continue;
|
||||||
if (!maxshadowlights--)
|
if (!maxshadowlights--)
|
||||||
break;
|
break;
|
||||||
l->color[0]*=2.5;
|
l->color[0]*=2.5;
|
||||||
|
|
Loading…
Reference in a new issue