diff options
author | Lars Persson | 2010-12-03 09:23:56 +0000 |
---|---|---|
committer | Lars Persson | 2010-12-03 09:23:56 +0000 |
commit | 9163b9e03252c666e81ab3e453652dd95551e229 (patch) | |
tree | 1d0eb54117d6f91fbfe7a59ae033bcbef49ed327 /engines | |
parent | a29adaa77ceb6434fabe72499d94f3fb597e12fd (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/lure/menu.cpp | 4 |
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) || |