light: remove hack for lights on faces, now that we correct them properly

This commit is contained in:
Eric Wasylishen 2016-05-28 15:18:58 -06:00
parent 329d9ee512
commit 0b5786ebef
1 changed files with 0 additions and 3 deletions

View File

@ -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;