summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/channel.cpp
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-04-11 23:16:32 +0200
committererihel <erihel@gmail.com>2013-04-11 23:16:32 +0200
commit82fdc2ba238a9cb0f60e82681f0dac26d2db7bc9 (patch)
tree3db6de48ee4bd66f443ad508077b8c438dc6e0fb /src/sound/oalsound/channel.cpp
parentbc760e35138579743f687661f1104777f5ba727f (diff)
downloadcolobot-82fdc2ba238a9cb0f60e82681f0dac26d2db7bc9.tar.gz
colobot-82fdc2ba238a9cb0f60e82681f0dac26d2db7bc9.tar.bz2
colobot-82fdc2ba238a9cb0f60e82681f0dac26d2db7bc9.zip
* Fixed problem with 2D sound mode
Diffstat (limited to 'src/sound/oalsound/channel.cpp')
-rw-r--r--src/sound/oalsound/channel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sound/oalsound/channel.cpp b/src/sound/oalsound/channel.cpp
index 686e909..01ec3de 100644
--- a/src/sound/oalsound/channel.cpp
+++ b/src/sound/oalsound/channel.cpp
@@ -158,7 +158,6 @@ void Channel::SetPriority(int pri)
void Channel::SetStartAmplitude(float gain)
{
mStartAmplitude = gain;
- SetVolume(mStartAmplitude);
}