summaryrefslogtreecommitdiff
path: root/src/rend2/tr_light.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_light.c')
-rw-r--r--src/rend2/tr_light.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rend2/tr_light.c b/src/rend2/tr_light.c
index 9c15982a..4e90ce20 100644
--- a/src/rend2/tr_light.c
+++ b/src/rend2/tr_light.c
@@ -95,11 +95,11 @@ void R_DlightBmodel( bmodel_t *bmodel ) {
surf = tr.world->surfaces + bmodel->firstSurface + i;
if ( *surf->data == SF_FACE ) {
- ((srfSurfaceFace_t *)surf->data)->dlightBits[ tr.smpFrame ] = mask;
+ ((srfSurfaceFace_t *)surf->data)->dlightBits = mask;
} else if ( *surf->data == SF_GRID ) {
- ((srfGridMesh_t *)surf->data)->dlightBits[ tr.smpFrame ] = mask;
+ ((srfGridMesh_t *)surf->data)->dlightBits = mask;
} else if ( *surf->data == SF_TRIANGLES ) {
- ((srfTriangles_t *)surf->data)->dlightBits[ tr.smpFrame ] = mask;
+ ((srfTriangles_t *)surf->data)->dlightBits = mask;
}
}
}
@@ -444,4 +444,4 @@ int R_LightDirForPoint( vec3_t point, vec3_t lightDir, vec3_t normal, world_t *w
VectorCopy(ent.lightDir, lightDir);
return qtrue;
-} \ No newline at end of file
+}