Skip to content

Commit a6f9337

Browse files
authored
add check (scp-fs2open#6997)
1 parent 1a1d3f0 commit a6f9337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/object/object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ void obj_move_all_post(object *objp, float frametime)
13051305
weapon_process_post( objp, frametime );
13061306

13071307
// Cast light
1308-
if ( Detail.lighting > 3 ) {
1308+
if ( Deferred_lighting && Detail.lighting > 3 ) {
13091309
// Weapons cast light
13101310

13111311
int group_id = Weapons[objp->instance].group_id;

0 commit comments

Comments
 (0)