aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcDedicated.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcDedicated.c')
-rw-r--r--Alc/alcDedicated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcDedicated.c b/Alc/alcDedicated.c
index 0b9d8419..6bab83e5 100644
--- a/Alc/alcDedicated.c
+++ b/Alc/alcDedicated.c
@@ -59,7 +59,7 @@ static ALvoid DedicatedDLGUpdate(ALeffectState *effect, ALCcontext *Context, con
ALsizei s;
pos = aluCart2LUTpos(1.0f, 0.0f);
- SpeakerGain = &device->PanningLUT[MAXCHANNELS * pos];
+ SpeakerGain = device->PanningLUT[pos];
for(s = 0;s < MAXCHANNELS;s++)
state->gains[s] = SpeakerGain[s] * Effect->Params.Dedicated.Gain;