Skip to content

Commit

Permalink
Fix dynamic lighting for moving world surfaces. Patch by gimhael, thx
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Schulz committed Mar 14, 2011
1 parent 379dfbf commit c1d8a26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/renderer/tr_world.c
Expand Up @@ -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++ ) {
Expand Down

0 comments on commit c1d8a26

Please sign in to comment.