From 73105b2d4bad1592f1ac21f0b021e00bdc1d5321 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 12 Oct 2012 23:35:00 -0700 Subject: [PATCH] Fix copying the listener Up vector --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.4.GIT