From 9631f26270d14d3b53ce988868a8809378824dee Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 28 Dec 2013 16:45:11 +0100 Subject: Don't stop music when SatCom or pause menu is opened --- src/sound/oalsound/alsound.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/sound/oalsound/alsound.cpp') diff --git a/src/sound/oalsound/alsound.cpp b/src/sound/oalsound/alsound.cpp index ef53236..7f5d1f1 100644 --- a/src/sound/oalsound/alsound.cpp +++ b/src/sound/oalsound/alsound.cpp @@ -472,17 +472,7 @@ bool ALSound::MuteAll(bool bMute) it.second->Mute(bMute); } } - - if (m_currentMusic) { - if (bMute) - { - m_currentMusic->SetVolume(0.0f); - } - else - { - m_currentMusic->SetVolume(m_musicVolume); - } - } + return true; } -- cgit v1.2.3-1-g7c22