From ba0ec1b4bac81fc636efb2881261dcf6516f85ba Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Aug 2010 11:42:18 -0700 Subject: [PATCH] Use the correct value to dereference an array --- Alc/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/mixer.c b/Alc/mixer.c index ebc46ded..e73d6aac 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -265,7 +265,7 @@ static void MixSource(ALsource *ALSource, ALCcontext *ALContext, for(out = 0;out < MAX_SENDS;out++) \ { \ outsamp = lpFilter2PC(WetFilter[out], 0, value); \ - WetClickRemoval[out][0] += outsamp*wetGainDiff[BACK_CENTER]; \ + WetClickRemoval[out][0] += outsamp*wetGainDiff[out]; \ } \ } \ while(BufferSize--) \ -- 2.11.4.GIT