From c1d8a260ae20b9701ffb64df86ffe3a438dd565c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 14 Mar 2011 17:25:20 +0000 Subject: [PATCH] Fix dynamic lighting for moving world surfaces. Patch by gimhael, thx --- code/renderer/tr_world.c | 1 + 1 file changed, 1 insertion(+) diff --git a/code/renderer/tr_world.c b/code/renderer/tr_world.c index d05373ab..e8855ba5 100644 --- a/code/renderer/tr_world.c +++ b/code/renderer/tr_world.c @@ -331,6 +331,7 @@ void R_AddBrushModelSurfaces ( trRefEntity_t *ent ) { return; } + R_SetupEntityLighting( &tr.refdef, ent ); R_DlightBmodel( bmodel ); for ( i = 0 ; i < bmodel->numSurfaces ; i++ ) {