From: Perttu Ahola Date: Thu, 5 Apr 2012 21:39:37 +0000 (+0300) Subject: Attempt to fix sound left-right channels X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5436f1c7d5ca30788ce92453b880858757982d8b;p=zefram%2Fminetest%2Fminetest_engine.git Attempt to fix sound left-right channels --- 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"); }