Fix menuqc-related crash with r_shadows enabled.

This commit is contained in:
Shpoike 2020-07-22 02:37:57 +01:00
parent 7a6ee08281
commit 3016b0201f

View file

@ -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