]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Use cvar_set for v_idlescale effects, to match hud_postprocessing
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 23:13:42 +0000 (01:13 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 23:13:42 +0000 (01:13 +0200)
data/qcsrc/client/View.qc

index cb513a18a675e897c1dc108e7bc37fcec4e32fa6..75ab1be9acb170e77d6899608aa8245481383d8b 100644 (file)
@@ -421,19 +421,19 @@ void CSQC_UpdateView(float w, float h)
        {\r
                apply_idlescale += getstatf(STAT_VORE_PROGRESS_PREY) * cvar("cl_vore_vieweffects_idlescale_prey");\r
                if(cvar("v_idlescale") != apply_idlescale)\r
-                       cvar_clientsettemp("v_idlescale", ftos(apply_idlescale));\r
+                       cvar_set("v_idlescale", ftos(apply_idlescale));\r
        }\r
        if(cvar("cl_vore_vieweffects_idlescale_predator") && frametime)\r
        {\r
                apply_idlescale += getstatf(STAT_VORE_PROGRESS_PRED) * cvar("cl_vore_vieweffects_idlescale_predator");\r
                if(cvar("v_idlescale") != apply_idlescale)\r
-                       cvar_clientsettemp("v_idlescale", ftos(apply_idlescale));\r
+                       cvar_set("v_idlescale", ftos(apply_idlescale));\r
        }\r
        if(cvar("cl_vore_vieweffects_idlescale_stomach") && frametime)\r
        {\r
                apply_idlescale += getstati(STAT_VORE_EATEN) * cvar("cl_vore_vieweffects_idlescale_stomach");\r
                if(cvar("v_idlescale") != apply_idlescale)\r
-                       cvar_clientsettemp("v_idlescale", ftos(apply_idlescale));\r
+                       cvar_set("v_idlescale", ftos(apply_idlescale));\r
        }\r
 \r
        // Render the Scene\r