From 367b7999984dcb9eb689d163a303226f952aeeb1 Mon Sep 17 00:00:00 2001 From: Shpoike Date: Sat, 22 Aug 2020 04:35:40 +0100 Subject: [PATCH] r_fastsky should skip skyroom drawing too, for people with really slow computers. --- Quake/gl_rmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Quake/gl_rmain.c b/Quake/gl_rmain.c index e1b28bc8..aad34178 100644 --- a/Quake/gl_rmain.c +++ b/Quake/gl_rmain.c @@ -1122,7 +1122,8 @@ static qboolean R_SkyroomWasVisible(void) qmodel_t *model = cl.worldmodel; texture_t *t; size_t i; - if (!skyroom_enabled) + extern cvar_t r_fastsky; + if (!skyroom_enabled || r_fastsky.value) return false; for (i=0 ; inumtextures ; i++) {