From: Mircea Kitsune Date: Tue, 1 Mar 2011 15:32:06 +0000 (+0200) Subject: Fix effects not coming back on if toggling them off and back on while they should... X-Git-Tag: xonotic-v0.5.0~173^2~3^2~19 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6d51fec51731c925f1820762b58103b0331e83b4;p=xonotic%2Fxonotic-data.pk3dir.git Fix effects not coming back on if toggling them off and back on while they should be active. --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 1bafa462b..e94e94958 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -843,6 +843,8 @@ void CSQC_UpdateView(float w, float h) { cvar_set("r_glsl_postprocess_uservec1", "0 0 0 0"); cvar_set("r_glsl_postprocess_uservec1_enable", "0"); + old_blurradius = 0; + old_bluralpha = 0; } float sharpen_intensity; @@ -866,6 +868,7 @@ void CSQC_UpdateView(float w, float h) { cvar_set("r_glsl_postprocess_uservec2", "0 0 0 0"); cvar_set("r_glsl_postprocess_uservec2_enable", "0"); + old_sharpen_intensity = 0; } }