Reduce stereo angle for sound effects a bit.
authorGuus Sliepen <guus@debian.org>
Sun, 9 Aug 2015 15:34:54 +0000 (17:34 +0200)
committerGuus Sliepen <guus@debian.org>
Sun, 9 Aug 2015 15:34:54 +0000 (17:34 +0200)
src/CAudio.cpp

index e20aece8f6b935ac9cad541e5cf2df9429bd7601..c713aaa396d25d921cec4be4210e5842c43ba254 100644 (file)
@@ -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)