light: allow negative surface offsets for niche use

This commit is contained in:
Eric Wasylishen 2015-08-05 12:04:22 -06:00
parent 3005504fe5
commit bc0e1778dc
1 changed files with 1 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@ static void CreateSurfaceLightOnFaceSubdivision(const bsp2_dface_t *face, const
}
offset = atof(ValueForKey(surflight_template, "_surface_offset"));
if (offset <= 0)
if (offset == 0)
offset = 2.0;
VectorMA(midpoint, offset, normal, midpoint);