Oops, forgot spectatee_status check for saturation
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 7 Feb 2013 21:59:52 +0000 (23:59 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 7 Feb 2013 21:59:52 +0000 (23:59 +0200)
data/qcsrc/client/View.qc

index d42a90e..94e8f4c 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