]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/View.qc
Oops, forgot spectatee_status check for saturation
[voretournament/voretournament.git] / data / qcsrc / client / View.qc
index d42a90e4442c3f42a918f311631ddda89d0be3fc..94e8f4cbe2cd40d0d9119bdabe52a1aee9bb08d6 100644 (file)
@@ -979,7 +979,7 @@ void CSQC_UpdateView(float w, float h)
                        if(cvar("r_glsl_saturation") != saturation)\r
                                cvar_set("r_glsl_saturation", ftos(saturation));\r
                }\r
-               else if (cvar("hud_saturation_death") && getstati(STAT_HEALTH) <= 0)\r
+               else if (cvar("hud_saturation_death") && spectatee_status != -1 && getstati(STAT_HEALTH) <= 0)\r
                {\r
                        if(cvar("r_glsl_saturation") != 0)\r
                                cvar_set("r_glsl_saturation", "0");\r