From 3b6826b1ac9d957acf12f3f06675893c0dfb9f98 Mon Sep 17 00:00:00 2001 From: Michael Papageorgiou Date: Wed, 14 Mar 2012 22:36:06 +0200 Subject: [PATCH] Set the attenuation model to linear, to be more in line with the vanilla game --- libs/mangle/sound/outputs/openal_out.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/mangle/sound/outputs/openal_out.cpp b/libs/mangle/sound/outputs/openal_out.cpp index fb37e484e..2056b4f60 100644 --- a/libs/mangle/sound/outputs/openal_out.cpp +++ b/libs/mangle/sound/outputs/openal_out.cpp @@ -264,6 +264,7 @@ OpenAL_Factory::OpenAL_Factory(bool doSetup) device = Device; context = Context; + alDistanceModel(AL_LINEAR_DISTANCE); } }