aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/action.cpp1
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp
index 88a57d6a4e..e9593955c5 100644
--- a/engines/mads/action.cpp
+++ b/engines/mads/action.cpp
@@ -75,6 +75,7 @@ void MADSAction::clear() {
_articleNumber = 0;
_lookFlag = false;
_pointEstablished = 0;
+ _statusText.clear();
_selectedRow = -1;
_hotspotId = -1;
_secondObject = -1;
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 2e020f3677..8b6418e928 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -393,6 +393,8 @@ void PictureDialog::restore() {
_vm->_palette->setFullPalette(palette._mainPalette);
Common::copy(&_palFlags[0], &_palFlags[PALETTE_COUNT], &palette._palFlags[0]);
palette._rgbList.copy(_rgbList);
+
+ _vm->_dialogs->_defaultPosition.y = -1;
}
}