r_fastsky should skip skyroom drawing too, for people with really slow computers.

This commit is contained in:
Shpoike 2020-08-22 04:35:40 +01:00
parent 17f5210a14
commit 367b799998

View file

@ -1122,7 +1122,8 @@ static qboolean R_SkyroomWasVisible(void)
qmodel_t *model = cl.worldmodel; qmodel_t *model = cl.worldmodel;
texture_t *t; texture_t *t;
size_t i; size_t i;
if (!skyroom_enabled) extern cvar_t r_fastsky;
if (!skyroom_enabled || r_fastsky.value)
return false; return false;
for (i=0 ; i<model->numtextures ; i++) for (i=0 ; i<model->numtextures ; i++)
{ {