aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/sound.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-11 19:40:05 +1100
committerPaul Gilbert2012-11-11 19:40:05 +1100
commit0ef8703833c556ab8ace5db7abf7c7087a299587 (patch)
tree03830b9858f0bb627a8ce43dbf9e2ab707ce12c9 /engines/hopkins/sound.cpp
parent29a8d2aa95b2c3c137e313cf2d8efd2cfa685c08 (diff)
downloadscummvm-rg350-0ef8703833c556ab8ace5db7abf7c7087a299587.tar.gz
scummvm-rg350-0ef8703833c556ab8ace5db7abf7c7087a299587.tar.bz2
scummvm-rg350-0ef8703833c556ab8ace5db7abf7c7087a299587.zip
HOPKINS: Fix to not play music if it is muted
Diffstat (limited to 'engines/hopkins/sound.cpp')
-rw-r--r--engines/hopkins/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp
index ffb19a9aa2..00da0ffb64 100644
--- a/engines/hopkins/sound.cpp
+++ b/engines/hopkins/sound.cpp
@@ -252,7 +252,7 @@ void SoundManager::WSOUND_OFF() {
}
void SoundManager::PLAY_MOD(const Common::String &file) {
- if (CARD_SB) {
+ if (CARD_SB && !MUSICOFF) {
_vm->_fileManager.CONSTRUIT_FICHIER(_vm->_globals.HOPMUSIC, file);
if (MOD_FLAG) {
STOP_MUSIC();