From 4b50904937de087519f67ae3adcbed14ab1a8007 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 19 Nov 2011 01:14:20 +0200 Subject: [PATCH] Fix a bug with the new volume cutting --- data/qcsrc/client/View.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index 58e1082b..1a3cf5ca 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -963,6 +963,7 @@ void CSQC_UpdateView(float w, float h) if(cvar("cl_vore_cutvolume_sound") && frametime) { // sound volume cutting + target_volume = 0; if(getstatf(STAT_VORE_PROGRESS_PREY)) target_volume = getstatf(STAT_VORE_PROGRESS_PREY); else if(getstati(STAT_VORE_EATEN)) @@ -975,6 +976,7 @@ void CSQC_UpdateView(float w, float h) if(cvar("cl_vore_cutvolume_music") && frametime) { // music volume cutting + target_volume = 0; if(getstatf(STAT_VORE_PROGRESS_PREY)) target_volume = getstatf(STAT_VORE_PROGRESS_PREY); else if(getstati(STAT_VORE_EATEN)) -- 2.39.5