aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-04-15 10:44:37 +0000
committerPaul Gilbert2007-04-15 10:44:37 +0000
commit3586004c96976fd261f37f6423ad995d7b4e55b0 (patch)
treeb4c9a30cab933f139e7426021c2bc8ecdc2497e0 /engines
parente01efe4004bdd2faeb40ea69261253c8b9061239 (diff)
downloadscummvm-rg350-3586004c96976fd261f37f6423ad995d7b4e55b0.tar.gz
scummvm-rg350-3586004c96976fd261f37f6423ad995d7b4e55b0.tar.bz2
scummvm-rg350-3586004c96976fd261f37f6423ad995d7b4e55b0.zip
Bugfix to restore the correct part of the screen when the menu changes
svn-id: r26486
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/menu.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp
index 84f07a7b31..739e475f48 100644
--- a/engines/lure/menu.cpp
+++ b/engines/lure/menu.cpp
@@ -111,10 +111,7 @@ uint8 Menu::execute() {
// If necessary, remove prior menu
if (_selectedMenu) {
toggleHighlight(_selectedMenu);
-// screen.updateArea(_selectedMenu->xstart(), MENUBAR_Y_SIZE,
-// _surfaceMenu->width(), _surfaceMenu->height());
- screen.updateArea(0, MENUBAR_Y_SIZE, FULL_SCREEN_WIDTH,
- _surfaceMenu->height());
+ screen.updateArea(0, 0, FULL_SCREEN_WIDTH, _surfaceMenu->height() + 8);
delete _surfaceMenu;
_surfaceMenu = NULL;
_selectedIndex = 0;