From: MirceaKitsune Date: Thu, 7 Feb 2013 21:59:52 +0000 (+0200) Subject: Oops, forgot spectatee_status check for saturation X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8a9db7476544811ab79c6ad46546558dabf6f3cb;p=voretournament%2Fvoretournament.git Oops, forgot spectatee_status check for saturation --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index d42a90e4..94e8f4cb 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -979,7 +979,7 @@ void CSQC_UpdateView(float w, float h) if(cvar("r_glsl_saturation") != saturation) cvar_set("r_glsl_saturation", ftos(saturation)); } - else if (cvar("hud_saturation_death") && getstati(STAT_HEALTH) <= 0) + else if (cvar("hud_saturation_death") && spectatee_status != -1 && getstati(STAT_HEALTH) <= 0) { if(cvar("r_glsl_saturation") != 0) cvar_set("r_glsl_saturation", "0");