Skip to content

Commit

Permalink
Optimize: We can early out of LOIT_ClipLumObjBySight as soon as we de…
Browse files Browse the repository at this point in the history
…termine the lumobj is clipped.
  • Loading branch information
danij committed Feb 3, 2009
1 parent 6849397 commit da26283
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/engine/portable/src/r_lumobjs.c
Expand Up @@ -839,6 +839,7 @@ boolean LOIT_ClipLumObjBySight(void* data, void* context)
seg->SG_v2pos, NULL, NULL, NULL))
{
luminousClipped[lumIdx] = 1;
break;
}
}
}
Expand Down

0 comments on commit da26283

Please sign in to comment.