Attempt to fix sound left-right channels

master
Perttu Ahola 2012-04-06 00:39:37 +03:00
parent 4107390337
commit 5436f1c7d5
1 changed files with 1 additions and 1 deletions

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