From c30d367a124dfe6342db19817e50964c44f17519 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 9 Feb 2012 10:41:17 +0100 Subject: [PATCH] FIXME comment because falloffTolerance is checked in non-fast too for point lights, should we really do that? Maybe add a -slow then... --- tools/quake3/q3map2/light_ydnar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index e08b12f5..576b2d48 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -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; -- 2.39.2