diff options
author | krzys-h <krzys_h@interia.pl> | 2013-12-28 16:45:11 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-12-28 16:45:11 +0100 |
commit | 9631f26270d14d3b53ce988868a8809378824dee (patch) | |
tree | 4b8ed922e68c69389119a0e4b8e1681f323cbb1e /src/sound/oalsound/alsound.cpp | |
parent | e9addb5a5e072b28eecfa1739ae38d67b68a2b23 (diff) | |
download | colobot-9631f26270d14d3b53ce988868a8809378824dee.tar.gz colobot-9631f26270d14d3b53ce988868a8809378824dee.tar.bz2 colobot-9631f26270d14d3b53ce988868a8809378824dee.zip |
Don't stop music when SatCom or pause menu is opened
Diffstat (limited to 'src/sound/oalsound/alsound.cpp')
-rw-r--r-- | src/sound/oalsound/alsound.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
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; } |