diff options
Diffstat (limited to 'engines/mads/sound.cpp')
-rw-r--r-- | engines/mads/sound.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/sound.cpp b/engines/mads/sound.cpp index fbf217ba0c..1baa169c55 100644 --- a/engines/mads/sound.cpp +++ b/engines/mads/sound.cpp @@ -146,7 +146,10 @@ void SoundManager::command(int commandId, int param) { if (_queuedCommands.size() < 8) _queuedCommands.push(commandId); } else if (_driver) { - _driver->command(commandId, param); + // Note: I don't know any way to identify music commands versus sfx + // commands, so if sfx is mute, then so is music + if (_vm->_soundFlag) + _driver->command(commandId, param); } } |