summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/alsound.cpp
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-12-28 16:45:11 +0100
committerkrzys-h <krzys_h@interia.pl>2013-12-28 16:45:11 +0100
commit9631f26270d14d3b53ce988868a8809378824dee (patch)
tree4b8ed922e68c69389119a0e4b8e1681f323cbb1e /src/sound/oalsound/alsound.cpp
parente9addb5a5e072b28eecfa1739ae38d67b68a2b23 (diff)
downloadcolobot-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.cpp12
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;
}