aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-08-16 11:42:18 -0700
committerChris Robinson <[email protected]>2010-08-16 11:42:18 -0700
commitba0ec1b4bac81fc636efb2881261dcf6516f85ba (patch)
tree3eadfaf7741daea12a6e28f48d9ad7c56ac4b0f9 /Alc
parent2acd6f52f103de7545888478c61e6cc2a3f1d1da (diff)
Use the correct value to dereference an array
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
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--) \