Fix dynamic lighting for moving world surfaces. Patch by gimhael, thx

This commit is contained in:
Thilo Schulz 2011-03-14 17:25:20 +00:00
parent 379dfbf496
commit c1d8a260ae

View file

@ -331,6 +331,7 @@ void R_AddBrushModelSurfaces ( trRefEntity_t *ent ) {
return; return;
} }
R_SetupEntityLighting( &tr.refdef, ent );
R_DlightBmodel( bmodel ); R_DlightBmodel( bmodel );
for ( i = 0 ; i < bmodel->numSurfaces ; i++ ) { for ( i = 0 ; i < bmodel->numSurfaces ; i++ ) {