summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/channel.cpp
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-12-25 17:46:48 +0100
committererihel <erihel@gmail.com>2012-12-25 17:46:48 +0100
commit1fa5f7a96fb4a1700847ebcf0b07a557da630b10 (patch)
treef448e87eeb5623c4c1127dae35c7daa80ea84a82 /src/sound/oalsound/channel.cpp
parent6d607e3ae8d60d2d5f11f053511a305db415205e (diff)
downloadcolobot-1fa5f7a96fb4a1700847ebcf0b07a557da630b10.tar.gz
colobot-1fa5f7a96fb4a1700847ebcf0b07a557da630b10.tar.bz2
colobot-1fa5f7a96fb4a1700847ebcf0b07a557da630b10.zip
* Changed log level in sound module
* Fixed warnings in sound module * Fixed problem with map loading when locale with different number separator
Diffstat (limited to 'src/sound/oalsound/channel.cpp')
-rw-r--r--src/sound/oalsound/channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/oalsound/channel.cpp b/src/sound/oalsound/channel.cpp
index 4476dee..2285414 100644
--- a/src/sound/oalsound/channel.cpp
+++ b/src/sound/oalsound/channel.cpp
@@ -227,7 +227,7 @@ void Channel::AdjustFrequency(float freq) {
void Channel::AdjustVolume(float volume) {
- SetVolume(mStartAmplitude * (float) volume);
+ SetVolume(mStartAmplitude * volume);
}