From: MirceaKitsune Date: Tue, 15 Nov 2011 23:13:42 +0000 (+0200) Subject: Use cvar_set for v_idlescale effects, to match hud_postprocessing X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6ee88e3705d3c1c066d15ecf3763d370ce4bf083;p=voretournament%2Fvoretournament.git Use cvar_set for v_idlescale effects, to match hud_postprocessing --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index cb513a18..75ab1be9 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -421,19 +421,19 @@ void CSQC_UpdateView(float w, float h) { apply_idlescale += getstatf(STAT_VORE_PROGRESS_PREY) * cvar("cl_vore_vieweffects_idlescale_prey"); if(cvar("v_idlescale") != apply_idlescale) - cvar_clientsettemp("v_idlescale", ftos(apply_idlescale)); + cvar_set("v_idlescale", ftos(apply_idlescale)); } if(cvar("cl_vore_vieweffects_idlescale_predator") && frametime) { apply_idlescale += getstatf(STAT_VORE_PROGRESS_PRED) * cvar("cl_vore_vieweffects_idlescale_predator"); if(cvar("v_idlescale") != apply_idlescale) - cvar_clientsettemp("v_idlescale", ftos(apply_idlescale)); + cvar_set("v_idlescale", ftos(apply_idlescale)); } if(cvar("cl_vore_vieweffects_idlescale_stomach") && frametime) { apply_idlescale += getstati(STAT_VORE_EATEN) * cvar("cl_vore_vieweffects_idlescale_stomach"); if(cvar("v_idlescale") != apply_idlescale) - cvar_clientsettemp("v_idlescale", ftos(apply_idlescale)); + cvar_set("v_idlescale", ftos(apply_idlescale)); } // Render the Scene