From 1fa5f7a96fb4a1700847ebcf0b07a557da630b10 Mon Sep 17 00:00:00 2001 From: erihel Date: Tue, 25 Dec 2012 17:46:48 +0100 Subject: * Changed log level in sound module * Fixed warnings in sound module * Fixed problem with map loading when locale with different number separator --- src/sound/oalsound/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound/oalsound/channel.cpp') 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); } -- cgit v1.2.3-1-g7c22