From 8304fc1bef0c23ebafe5ca1dbd9a54fc711584ca Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 11 Aug 2012 06:20:24 -0700 Subject: Handle the scalar values a bit better --- Alc/ALc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/ALc.c') 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); -- cgit v1.2.3