From 7a00205df7fbf57f1e2bbcf9a44325b0728f43c2 Mon Sep 17 00:00:00 2001 From: driAn Date: Wed, 27 Aug 2008 18:29:38 +0000 Subject: [PATCH] improved sound distance model git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2412 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 24f7f878..5a9c6d20 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -116,7 +116,7 @@ struct source // fit into distance model alSourcef(id, AL_REFERENCE_DISTANCE, 3.0f); - alSourcef(id, AL_ROLLOFF_FACTOR, 1.0f); + alSourcef(id, AL_ROLLOFF_FACTOR, 1.4f); return !alerr(false); }