aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorFilippos Karapetis2015-03-14 13:04:46 +0200
committerFilippos Karapetis2015-03-14 13:04:46 +0200
commit1f8845e9f433365c3586240b4e395cf888ec770b (patch)
tree9103912ddb05aa40016d700936bc77287c275f81 /engines/mads/nebular
parent4c97e08e33f5a94c62c7ae480d05eae85a6721b6 (diff)
downloadscummvm-rg350-1f8845e9f433365c3586240b4e395cf888ec770b.tar.gz
scummvm-rg350-1f8845e9f433365c3586240b4e395cf888ec770b.tar.bz2
scummvm-rg350-1f8845e9f433365c3586240b4e395cf888ec770b.zip
MADS: Fix toggling of game options
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 6c57c85408..530cf8a785 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -1142,8 +1142,9 @@ void OptionsDialog::show() {
// Reload menu
_lineIndex = -1;
clearLines();
+ _vm->_game->_screenObjects.clear();
+ _vm->_game->_scene._spriteSlots.reset();
setLines();
- setClickableLines();
} while (!_vm->shouldQuit() && _selectedLine != 0 && _selectedLine <= 7);
// If Done button not pressed, reset settings