summaryrefslogtreecommitdiff
path: root/src/renderer/tr_light.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-05 22:05:32 +0000
committerTim Angus <tim@ngus.net>2007-09-05 22:05:32 +0000
commitc99975c73ae2941751d86d3b8466454c5ad122c0 (patch)
treeb5bb65655fbdbc22201426046092939bcf696abe /src/renderer/tr_light.c
parent27ad2c0e19891f7f2454c9eedf76878dc1942ba6 (diff)
* Merge of ioq3-r1163
+ SDL everywhere + New R_LoadImage + net_ip.c + Window icon + GUI based dedicated server support + Compile time linked OpenGL * Remove ui_menuFiles cvar
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;