diff options
author | Chris Robinson <[email protected]> | 2012-10-12 23:35:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-12 23:35:00 -0700 |
commit | 73105b2d4bad1592f1ac21f0b021e00bdc1d5321 (patch) | |
tree | 7d4ec5a5e8b29cbfacaccf7c6fc4c464a84fea5d /Alc/ALu.c | |
parent | 06ab9cf70e2c33d5789760603898e668cd74b166 (diff) |
Fix copying the listener Up vector
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |