]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Correct check on the cutsound cvars
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 26 Feb 2011 13:51:20 +0000 (15:51 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 26 Feb 2011 13:51:20 +0000 (15:51 +0200)
data/qcsrc/client/View.qc

index 98c97ab7c9e636b4376d0f1dee74a73f8c2bedd7..37926193de12c2cd1d3dfe33b0c19105096cbef5 100644 (file)
@@ -687,7 +687,7 @@ void CSQC_UpdateView(float w, float h)
                cvar_set("r_glsl_postprocess_uservec2_enable", "0");\r
        }\r
 \r
                cvar_set("r_glsl_postprocess_uservec2_enable", "0");\r
        }\r
 \r
-       if(cvar("cl_vore_cutvolume_sound") || cvar("cl_vore_cutvolume_music"))\r
+       if(cvar("cl_vore_cutvolume_sound") < 1 || cvar("cl_vore_cutvolume_music") < 1)\r
        {\r
                if(!volume_modify_default_set)\r
                {\r
        {\r
                if(!volume_modify_default_set)\r
                {\r