aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorFilippos Karapetis2015-03-15 13:45:31 +0200
committerFilippos Karapetis2015-03-15 13:45:31 +0200
commit97ca67ecac3bd4e27cd2ea93c5e88e44722972a3 (patch)
tree818c62840f89e4136e05394be197cc8b9895672e /engines/mads
parent19a9c068f994d5800a60dff6f14221f03f5d4cc3 (diff)
downloadscummvm-rg350-97ca67ecac3bd4e27cd2ea93c5e88e44722972a3.tar.gz
scummvm-rg350-97ca67ecac3bd4e27cd2ea93c5e88e44722972a3.tar.bz2
scummvm-rg350-97ca67ecac3bd4e27cd2ea93c5e88e44722972a3.zip
MADS: Properly reset the sound flag
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 0b5e921dcc..4ba5366a60 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -1152,7 +1152,7 @@ void OptionsDialog::show() {
_vm->saveOptions();
} else if (_selectedLine == 9) {
// Cancel button, revert all options from the saved ones
- _vm->_musicFlag = prevMusicFlag;
+ _vm->_musicFlag = _vm->_soundFlag = prevMusicFlag;
_vm->_easyMouse = prevEasyMouse;
_vm->_invObjectsAnimated = prevInvObjectsAnimated;
_vm->_textWindowStill = prevTextWindowStill;