diff options
author | Paul Gilbert | 2014-05-11 19:56:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-11 19:56:31 -0400 |
commit | 5e13514d28df811dfcd4f1829b327ce8606ed5ee (patch) | |
tree | a5b59dc1f715837487aea04c98f61c06b99484c1 | |
parent | 991096d01ed0befa2b56beea4091de9d04aafaac (diff) | |
download | scummvm-rg350-5e13514d28df811dfcd4f1829b327ce8606ed5ee.tar.gz scummvm-rg350-5e13514d28df811dfcd4f1829b327ce8606ed5ee.tar.bz2 scummvm-rg350-5e13514d28df811dfcd4f1829b327ce8606ed5ee.zip |
MADS: Fix hiding the status text when doing actions
-rw-r--r-- | engines/mads/action.cpp | 1 | ||||
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.cpp | 2 |
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; } } |