diff options
author | erihel <erihel@gmail.com> | 2013-04-07 16:26:15 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-04-07 16:26:15 +0200 |
commit | 7513bc5864efce2d6366f8836f1cb178adff6965 (patch) | |
tree | a782d0d185dcc28805b51d3ed28dc458019e29a0 /src/sound | |
parent | f4b1cabbde0187c7429e31ff344814adf35c4bc1 (diff) | |
download | colobot-7513bc5864efce2d6366f8836f1cb178adff6965.tar.gz colobot-7513bc5864efce2d6366f8836f1cb178adff6965.tar.bz2 colobot-7513bc5864efce2d6366f8836f1cb178adff6965.zip |
* Set distance model to fix issue #123
Diffstat (limited to 'src/sound')
-rw-r--r-- | src/sound/oalsound/alsound.cpp | 1 |
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"); |