diff options
author | Paul Gilbert | 2012-11-11 19:40:05 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-11-11 19:40:05 +1100 |
commit | 0ef8703833c556ab8ace5db7abf7c7087a299587 (patch) | |
tree | 03830b9858f0bb627a8ce43dbf9e2ab707ce12c9 /engines/hopkins | |
parent | 29a8d2aa95b2c3c137e313cf2d8efd2cfa685c08 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/hopkins/sound.cpp | 2 |
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(); |