diff options
author | Filippos Karapetis | 2014-10-18 20:12:42 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-10-18 20:12:42 +0300 |
commit | f0bcacc7b3ad9bc5bb88b9b7db8d36977e96fa08 (patch) | |
tree | a3376902b961457d4139c56028df9b7e8c36d29c | |
parent | dbfe4972e3a3e1d59aee8993697028cdd2de8da2 (diff) | |
download | scummvm-rg350-f0bcacc7b3ad9bc5bb88b9b7db8d36977e96fa08.tar.gz scummvm-rg350-f0bcacc7b3ad9bc5bb88b9b7db8d36977e96fa08.tar.bz2 scummvm-rg350-f0bcacc7b3ad9bc5bb88b9b7db8d36977e96fa08.zip |
MADS: Reset screen clip bounds before copying over a new screen
This is needed for the in-game menu, where a dialog spawns another one
-rw-r--r-- | engines/mads/dialogs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/dialogs.cpp b/engines/mads/dialogs.cpp index 5ea8fb115c..5e38f34fc6 100644 --- a/engines/mads/dialogs.cpp +++ b/engines/mads/dialogs.cpp @@ -457,6 +457,7 @@ void FullScreenDialog::display() { _vm->_palette->setLowRange(); _vm->_screen.hLine(0, 20, MADS_SCREEN_WIDTH, 2); _vm->_screen.hLine(0, 179, MADS_SCREEN_WIDTH, 2); + _vm->_screen.resetClipBounds(); _vm->_screen.copyRectToScreen(Common::Rect(0, 0, MADS_SCREEN_WIDTH, MADS_SCREEN_HEIGHT)); // Restrict the screen to the area between the two lines |