1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-17 14:55:13 -05:00

Attempt to fix sound left-right channels

This commit is contained in:
Perttu Ahola 2012-04-06 00:39:37 +03:00
parent 4107390337
commit 5436f1c7d5

View File

@ -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");
}