aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 2c44e13e..43653048 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -128,7 +128,7 @@ static ALvoid CalcListenerParams(ALlistener *Listener)
aluNormalize(N);
V[0] = Listener->Up[0];
V[1] = Listener->Up[1];
- V[2] = Listener->Up[1];
+ V[2] = Listener->Up[2];
aluNormalize(V);
/* Build and normalize right-vector */
aluCrossproduct(N, V, U);