aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-08-11 06:20:24 -0700
committerChris Robinson <[email protected]>2012-08-11 06:20:24 -0700
commit8304fc1bef0c23ebafe5ca1dbd9a54fc711584ca (patch)
tree88e0e5a1006890d8187e5d1225b923139ddc1953 /Alc/ALc.c
parentea84fee9527c5d55e7ecbd557d399b759b92aba4 (diff)
Handle the scalar values a bit better
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7b757a87..06345980 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -755,11 +755,11 @@ static void alc_init(void)
str = getenv("__ALSOFT_HALF_ANGLE_CONES");
if(str && (strcasecmp(str, "true") == 0 || strtol(str, NULL, 0) == 1))
- ConeScale = 1.0f;
+ ConeScale *= 0.5f;
str = getenv("__ALSOFT_REVERSE_Z");
if(str && (strcasecmp(str, "true") == 0 || strtol(str, NULL, 0) == 1))
- ZScale = -1.0f;
+ ZScale *= -1.0f;
pthread_key_create(&LocalContext, ReleaseThreadCtx);
InitializeCriticalSection(&ListLock);