From 0b5786ebefc677a5a731f51c1fb6aa9547993f3f Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 28 May 2016 15:18:58 -0600 Subject: [PATCH] light: remove hack for lights on faces, now that we correct them properly --- light/ltface.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/light/ltface.c b/light/ltface.c index 69e1a74b..85aa746a 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -1361,9 +1361,6 @@ LightFace_Entity(const bsp2_t *bsp, } } - /* HACK: support lights lying exactly on a face by only tracing up to 0.1 units from the light */ - surfpointToLightDist = qmax(0.0f, surfpointToLightDist - 0.01f); - if (!TestLight(entity->origin, surfpoint, shadowself)) continue;