diff options
author | Paul Gilbert | 2014-03-26 20:47:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-26 20:47:46 -0400 |
commit | eeb4b940b7245aedb7056947b4f5c435a43fc136 (patch) | |
tree | f371429d3c90474ed2dbabde78b6fe15c4c75c26 /engines/mads/user_interface.cpp | |
parent | 253023b9bb35547c1afe9678f051fb83329d3245 (diff) | |
download | scummvm-rg350-eeb4b940b7245aedb7056947b4f5c435a43fc136.tar.gz scummvm-rg350-eeb4b940b7245aedb7056947b4f5c435a43fc136.tar.bz2 scummvm-rg350-eeb4b940b7245aedb7056947b4f5c435a43fc136.zip |
MADS: Fixes for highlighting game actions
Diffstat (limited to 'engines/mads/user_interface.cpp')
-rw-r--r-- | engines/mads/user_interface.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index 67e6718c5d..2a99b61a63 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -687,7 +687,10 @@ void UserInterface::updateSelection(ScrCategory category, int newIndex, int *idx void UserInterface::updateRect(const Common::Rect &bounds) { _vm->_screen.setPointer(&_surface); setBounds(Common::Rect(0, MADS_SCENE_HEIGHT, MADS_SCREEN_WIDTH - 1, MADS_SCREEN_HEIGHT)); - _vm->_screen.copyRectToScreen(bounds); + + Common::Rect r = bounds; + r.translate(0, MADS_SCENE_HEIGHT); + _vm->_screen.copyRectToScreen(r); } void UserInterface::scrollerChanged() { |