From: Guus Sliepen Date: Sun, 9 Aug 2015 15:34:54 +0000 (+0200) Subject: Reduce stereo angle for sound effects a bit. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3acfd15d512d7dee1fd8bd5838d0911df2a80407;p=quix0rs-blobwars.git Reduce stereo angle for sound effects a bit. --- diff --git a/src/CAudio.cpp b/src/CAudio.cpp index e20aece..c713aaa 100644 --- a/src/CAudio.cpp +++ b/src/CAudio.cpp @@ -188,7 +188,7 @@ void Audio::playSoundRelative(int snd, int channel, float x) return; } - int angle = atanf(x / 320) * 180 / M_PI; + int angle = atanf(x / 480) * 180 / M_PI; int attenuation = fabsf(x) / 40; if (angle < 0)