From: MirceaKitsune Date: Sat, 26 Feb 2011 18:01:08 +0000 (+0200) Subject: Further fix and improve the sound fading code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3fa1e85c10ca2fa85fdccc39833a99fa41da6771;p=voretournament%2Fvoretournament.git Further fix and improve the sound fading code --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index 4f768092..b8f070a7 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -717,8 +717,8 @@ void CSQC_UpdateView(float w, float h) { if(spectatee_status == -1 || intermission) { - volume_modify_1_target = 1; - volume_modify_2_target = 1; + volume_modify_1_target = volume_modify_default_1; + volume_modify_2_target = volume_modify_default_2; } else if(getstati(STAT_VORE_EATEN)) { @@ -727,8 +727,8 @@ void CSQC_UpdateView(float w, float h) } else { - volume_modify_1_target = 1; - volume_modify_2_target = 1; + volume_modify_1_target = volume_modify_default_1; + volume_modify_2_target = volume_modify_default_2; } volume_modify_fade = cvar("cl_vore_cutvolume_fade") * frametime;