This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 19cc25f7164aafe4576075afb935c985fe9f9a53
Author: krzys-h <krzy...@interia.pl>
Date:   Sun Jul 10 20:12:44 2016 +0200

    Fixed sound channels not being unmuted properly
---
 src/sound/oalsound/alsound.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sound/oalsound/alsound.cpp b/src/sound/oalsound/alsound.cpp
index cfa335d..020bfba 100644
--- a/src/sound/oalsound/alsound.cpp
+++ b/src/sound/oalsound/alsound.cpp
@@ -356,6 +356,7 @@ int CALSound::Play(SoundType sound, const Math::Vector 
&pos, float amplitude, fl
     chn->SetFrequency(frequency);
     chn->SetVolume(powf(amplitude * chn->GetVolumeAtrib(), 0.2f) * 
m_audioVolume);
     chn->SetLoop(loop);
+    chn->Mute(false);
 
     if (!chn->Play())
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to