aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-12 23:35:00 -0700
committerChris Robinson <[email protected]>2012-10-12 23:35:00 -0700
commit73105b2d4bad1592f1ac21f0b021e00bdc1d5321 (patch)
tree7d4ec5a5e8b29cbfacaccf7c6fc4c464a84fea5d /Alc/ALu.c
parent06ab9cf70e2c33d5789760603898e668cd74b166 (diff)
Fix copying the listener Up vector
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);