summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/oalsound')
-rw-r--r--src/sound/oalsound/alsound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound/oalsound/alsound.cpp b/src/sound/oalsound/alsound.cpp
index 660363e..21f11b7 100644
--- a/src/sound/oalsound/alsound.cpp
+++ b/src/sound/oalsound/alsound.cpp
@@ -82,6 +82,7 @@ bool ALSound::Create(bool b3D)
}
alcMakeContextCurrent(mContext);
alListenerf(AL_GAIN, mAudioVolume);
+ alDistanceModel(AL_LINEAR_DISTANCE);
mCurrentMusic = new Channel();
GetLogger()->Info("Done.\n");