From 3acfd15d512d7dee1fd8bd5838d0911df2a80407 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 9 Aug 2015 17:34:54 +0200 Subject: [PATCH] Reduce stereo angle for sound effects a bit. --- src/CAudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5