mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
FIXME comment because falloffTolerance is checked in non-fast too for point lights, should we really do that? Maybe add a -slow then...
This commit is contained in:
@@ -3660,6 +3660,8 @@ void SetupEnvelopes( qboolean forGrid, qboolean fastFlag )
|
||||
/* other calcs */
|
||||
if( light->envelope <= 0.0f )
|
||||
{
|
||||
/* FIXME shouldn't we assume falloffTolerance == 0 when -fast is not used? */
|
||||
|
||||
/* solve distance for non-distance lights */
|
||||
if( !(light->flags & LIGHT_ATTEN_DISTANCE) )
|
||||
light->envelope = MAX_WORLD_COORD * 8.0f;
|
||||
|
||||
Reference in New Issue
Block a user