]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
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 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