summaryrefslogtreecommitdiff
path: root/src/renderer/tr_light.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/tr_light.c')
-rw-r--r--src/renderer/tr_light.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/tr_light.c b/src/renderer/tr_light.c
index 1be629e8..dfed3653 100644
--- a/src/renderer/tr_light.c
+++ b/src/renderer/tr_light.c
@@ -161,7 +161,7 @@ static void R_SetupEntityLightingGrid( trRefEntity_t *ent ) {
VectorClear( ent->directedLight );
VectorClear( direction );
- assert( tr.world->lightGridData ); // bk010103 - NULL with -nolight maps
+ assert( tr.world->lightGridData ); // NULL with -nolight maps
// trilerp the light value
gridStep[0] = 8;
@@ -381,7 +381,6 @@ int R_LightForPoint( vec3_t point, vec3_t ambientLight, vec3_t directedLight, ve
{
trRefEntity_t ent;
- // bk010103 - this segfaults with -nolight maps
if ( tr.world->lightGridData == NULL )
return qfalse;