Made rocket dynamic lights more consistant (more gl style, and a teeeny bit more efficient)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@676 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
07ebed7f87
commit
708e412a56
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ void SWR_PushDlights (void)
|
|||
{
|
||||
for (i=0 ; i<MAX_DLIGHTS ; i++, l++)
|
||||
{
|
||||
if (l->die < cl.time || !l->radius)
|
||||
if (!l->radius)
|
||||
continue;
|
||||
SWR_Q2MarkLights ( l, 1<<i, cl.worldmodel->nodes );
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ void SWR_PushDlights (void)
|
|||
{
|
||||
for (i=0 ; i<MAX_DLIGHTS ; i++, l++)
|
||||
{
|
||||
if (l->die < cl.time || !l->radius)
|
||||
if (!l->radius)
|
||||
continue;
|
||||
SWR_MarkLights ( l, 1<<i, cl.worldmodel->nodes );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue