From f66acdfee2935ce30e2ccb0049eef5cfdf9e233b Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Sat, 21 Jul 2007 16:58:40 +0000 Subject: [PATCH] Working lerp stop. --- src/engine/client/snd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/client/snd.cpp b/src/engine/client/snd.cpp index 402483eae..8cfa51d78 100644 --- a/src/engine/client/snd.cpp +++ b/src/engine/client/snd.cpp @@ -124,7 +124,6 @@ public: if(channels[c].lerp >= 0) { dv = (channels[c].new_vol - channels[c].old_vol) * NUM_FRAMES_LERP_INV; - dbg_msg("mixer", "lerp %f", dv); } if(channels[c].data->channels == 1) @@ -141,7 +140,7 @@ public: channels[c].lerp -= to_fill; if(channels[c].lerp < 0) - channels[c].lerp = 0; + channels[c].lerp = -1; filled += to_fill; }