r_drawentities bug in sw fix

(from WildCode)
This commit is contained in:
Bill Currie 2001-01-06 07:26:38 +00:00
parent 4eef82f08a
commit cc8d6c5827

View file

@ -669,7 +669,9 @@ R_DrawViewModel (void)
dlight_t *dl; dlight_t *dl;
if (!r_drawviewmodel->int_val || r_fov_greater_than_90 if (!r_drawviewmodel->int_val || r_fov_greater_than_90
|| !Cam_DrawViewModel ())return; || !Cam_DrawViewModel ()
|| !r_drawentities->int_val)
return;
if (cl.stats[STAT_ITEMS] & IT_INVISIBILITY) if (cl.stats[STAT_ITEMS] & IT_INVISIBILITY)
return; return;