From: MirceaKitsune Date: Fri, 18 Nov 2011 23:14:20 +0000 (+0200) Subject: Fix a bug with the new volume cutting X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4b50904937de087519f67ae3adcbed14ab1a8007;p=voretournament%2Fvoretournament.git Fix a bug with the new volume cutting --- 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))