aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/menu.cpp
diff options
context:
space:
mode:
authorLars Persson2010-12-03 09:23:56 +0000
committerLars Persson2010-12-03 09:23:56 +0000
commit9163b9e03252c666e81ab3e453652dd95551e229 (patch)
tree1d0eb54117d6f91fbfe7a59ae033bcbef49ed327 /engines/lure/menu.cpp
parenta29adaa77ceb6434fabe72499d94f3fb597e12fd (diff)
downloadscummvm-rg350-9163b9e03252c666e81ab3e453652dd95551e229.tar.gz
scummvm-rg350-9163b9e03252c666e81ab3e453652dd95551e229.tar.bz2
scummvm-rg350-9163b9e03252c666e81ab3e453652dd95551e229.zip
LURE : Fix for ID: 3030143 Unexpected game cursor behavior. Always refresh menu and screen when mouse is moved.
svn-id: r54747
Diffstat (limited to 'engines/lure/menu.cpp')
-rw-r--r--engines/lure/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp
index 76b1d78823..7d0816ee79 100644
--- a/engines/lure/menu.cpp
+++ b/engines/lure/menu.cpp
@@ -584,12 +584,12 @@ uint16 PopupMenu::Show(int numEntries, const char *actions[]) {
} else if (e.type() == Common::EVENT_LBUTTONDOWN || e.type() == Common::EVENT_MOUSEMOVE) {
int16 x = mouse.x();
int16 y = mouse.y() - yMiddle + (s->height() / 2);
+ refreshFlag = true;
+
if (r.contains(x, y)) {
selectedIndex = (y - r.top) / FONT_HEIGHT;
if (e.type() == Common::EVENT_LBUTTONDOWN)
goto bail_out;
- else
- refreshFlag = true;
}
#else
} else if ((e.type() == Common::EVENT_LBUTTONDOWN) ||