aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-14 14:04:41 -0400
committerPaul Gilbert2015-03-14 14:04:41 -0400
commitb39abbfb4955521211847f33bcc133cdd9642fe3 (patch)
treee1d05c1c027ff6eeed3a1c5fca57cace2b12f202 /engines/mads/nebular
parenta924d4beefc9d82ebe4c5a1880015aa7c97503de (diff)
downloadscummvm-rg350-b39abbfb4955521211847f33bcc133cdd9642fe3.tar.gz
scummvm-rg350-b39abbfb4955521211847f33bcc133cdd9642fe3.tar.bz2
scummvm-rg350-b39abbfb4955521211847f33bcc133cdd9642fe3.zip
MADS: Save reverted options if you cancel out of Game Options dialog
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 1c780c85b7..10fa28c013 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -1158,6 +1158,8 @@ void OptionsDialog::show() {
_vm->_textWindowStill = prevTextWindowStill;
_vm->_screenFade = prevScreenFade;
game._storyMode = prevStoryMode;
+
+ _vm->saveOptions();
}
}