From 5436f1c7d5ca30788ce92453b880858757982d8b Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 6 Apr 2012 00:39:37 +0300 Subject: [PATCH] Attempt to fix sound left-right channels --- src/sound_openal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound_openal.cpp b/src/sound_openal.cpp index 8d76b69e..66faf40c 100644 --- a/src/sound_openal.cpp +++ b/src/sound_openal.cpp @@ -461,7 +461,7 @@ public: alListener3f(AL_VELOCITY, vel.X, vel.Y, vel.Z); ALfloat f[6]; f3_set(f, at); - f3_set(f+3, up); + f3_set(f+3, -up); alListenerfv(AL_ORIENTATION, f); warn_if_error(alGetError(), "updateListener"); }