mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Fix menuqc-related crash with r_shadows enabled.
This commit is contained in:
parent
7a6ee08281
commit
3016b0201f
1 changed files with 2 additions and 1 deletions
|
@ -982,7 +982,8 @@ void R_RenderScene (void)
|
|||
|
||||
S_ExtraUpdate (); // don't let sound get messed up if going slow
|
||||
|
||||
R_DrawShadows (); //johnfitz -- render entity shadows
|
||||
if (r_refdef.drawworld)
|
||||
R_DrawShadows (); //johnfitz -- render entity shadows
|
||||
|
||||
R_DrawEntitiesOnList (false); //johnfitz -- false means this is the pass for nonalpha entities
|
||||
|
||||
|
|
Loading…
Reference in a new issue