diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-04-06 00:39:37 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-04-06 00:39:37 +0300 |
commit | 5436f1c7d5ca30788ce92453b880858757982d8b (patch) | |
tree | 1015d34da95258725afa537e5561bc1090c51a44 /src | |
parent | 41073903373cb31bd2e946988875b848b2c2f216 (diff) | |
download | minetest-5436f1c7d5ca30788ce92453b880858757982d8b.tar.gz minetest-5436f1c7d5ca30788ce92453b880858757982d8b.tar.bz2 minetest-5436f1c7d5ca30788ce92453b880858757982d8b.zip |
Attempt to fix sound left-right channels
Diffstat (limited to 'src')
-rw-r--r-- | src/sound_openal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_openal.cpp b/src/sound_openal.cpp index 8d76b69e1..66faf40c1 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"); } |